Skip to content

Commit

Permalink
github: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pbogdan committed Jan 6, 2025
1 parent 57218c2 commit 2658e6e
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2658e6e

Please sign in to comment.