Skip to content

Configure github actions (#8) #5

Configure github actions (#8)

Configure github actions (#8) #5

Workflow file for this run

name: Test
'on': push
jobs:
build-2-21:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14
with:
name: pants-nix
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build '.#"release_2.21.0"'
- run: touch pants.toml && nix shell '.#"release_2.21.0"' --command pants --version
build-2-22:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14
with:
name: pants-nix
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build '.#"release_2.22.0"'
- run: touch pants.toml && nix shell '.#"release_2.22.0"' --command pants --version