Skip to content

Merge pull request #3 from massix/refactor/clean-code #12

Merge pull request #3 from massix/refactor/clean-code

Merge pull request #3 from massix/refactor/clean-code #12

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: ldd ./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: ldd ./result/bin/protrans