Skip to content

build: fix GitHub pipeline #20

build: fix GitHub pipeline

build: fix GitHub pipeline #20

Workflow file for this run

name: Build and Test
on: [push]
jobs:
build:
name: Build raw binary
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ">=1.22"
- run: go version
- run: make all
- run: test -x ./protrans
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ">=1.22"
- run: go version
- run: make test
flake:
name: Build Flake
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix build
- run: test -x ./result/bin/protrans