diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d0b067c..492896d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,19 +6,13 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v20 + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v27 with: - install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20210126_f15f0b8/install - - name: Enable nix-command feature - run: echo "experimental-features = nix-command" | sudo tee -a /etc/nix/nix.conf - - uses: cachix/cachix-action@v12 + nix_path: nixpkgs=channel:nixos-unstable + - uses: cachix/cachix-action@v14 with: name: pbogdan signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' - - name: Nix Stable build - run: nix-build - - name: Enable flake support - run: echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.conf - name: Nix Flakes build run: nix build