Skip to content

Commit

Permalink
ci: update nix install action
Browse files Browse the repository at this point in the history
  • Loading branch information
hennersz committed Sep 23, 2023
1 parent d3fbc0f commit aef8be6
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- run: |
ARCH=$1
DISTRO=$2
Expand All @@ -26,16 +26,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- name: check lock file
uses: docker://nixos/nix:2.15.0
with:
entrypoint: /root/.nix-profile/bin/nix
args: --extra-experimental-features "nix-command flakes" flake lock --no-update-lock-file
run:
nix flake lock --no-update-lock-file
build-test-arm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- run: |
ARCH=$1
DISTRO=$2
Expand All @@ -61,7 +60,7 @@ jobs:
- hel
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- run: |
mkdir -p ~/.config/nix
sudo bash -c "echo experimental-features = nix-command flakes >> /etc/nix/nix.conf"
Expand All @@ -78,7 +77,7 @@ jobs:
- henry@tyr
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- run: |
mkdir -p ~/.config/nix
sudo bash -c "echo experimental-features = nix-command flakes >> /etc/nix/nix.conf"
Expand Down

0 comments on commit aef8be6

Please sign in to comment.