Skip to content

Commit

Permalink
Pin nix-installer version
Browse files Browse the repository at this point in the history
  • Loading branch information
lloeki committed Nov 27, 2024
1 parent 1878ce1 commit 745b757
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,18 @@ jobs:
- os: darwin
cpu: x86_64
base: macos-13 # always x86_64-darwin
nix-installer:
platform: x86_64-darwin
- os: darwin
cpu: arm64
base: macos-14 # always arm64-darwin
nix-installer:
platform: aarch64-darwin
- os: linux
cpu: x86_64
base: ubuntu-24.04 # always x86_64-linux-gnu
nix-installer:
platform: x86_64-linux
- os: linux
cpu: aarch64
base: arm-4core-linux-ubuntu24.04 # always aarch64-linux-gnu
Expand All @@ -37,6 +43,8 @@ jobs:
test "$(uname -m)" = "${{ matrix.platform.cpu }}"
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
with:
source-url: https://github.com/DeterminateSystems/nix-installer/releases/download/v0.30.0/nix-installer-${{ matrix.nix-installer.platform }}
- uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Print ruby version
run: |
Expand Down

0 comments on commit 745b757

Please sign in to comment.