diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..aab8782 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +on: + push: + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main + - run: nix build -L .#default + - uses: actions/upload-artifact@v3 + with: + name: static-build + path: result/bin