Skip to content

Commit

Permalink
repo: update nix for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
moni-dz committed Jul 3, 2023
1 parent 6ebb038 commit ad8050a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3.5.3
- uses: cachix/install-nix-action@v22
with:
install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.10.0pre20220629_b7eb4ac/install
install_url: https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.17.0pre20230630_d05d175/install
extra_nix_config: |
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v12
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3.5.3
- uses: cachix/install-nix-action@v22
with:
install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.10.0pre20220629_b7eb4ac/install
install_url: https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.17.0pre20230630_d05d175/install
extra_nix_config: |
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v12
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,12 @@ on:
push:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
runtime: [osx-arm64]
include:
- runtime: osx-arm64
os: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.3
- uses: cachix/install-nix-action@v22
with:
install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.9.0pre20220428_660835d/install
install_url: https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.17.0pre20230630_d05d175/install
extra_nix_config: |
experimental-features = nix-command flakes
- run: nix flake check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v3.5.3
- uses: cachix/install-nix-action@v22
with:
install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.9.0pre20220428_660835d/install
install_url: https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.17.0pre20230630_d05d175/install
extra_nix_config: |
experimental-features = nix-command flakes
- run: nix fmt -- --check ./
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3.5.3
- uses: cachix/install-nix-action@v22
with:
install_url: https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.12.0pre20221026_bf2e6bc/install
install_url: https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.17.0pre20230630_d05d175/install
extra_nix_config: |
experimental-features = nix-command flakes
nix_path: nixpkgs=channel:nixos-unstable
Expand Down

0 comments on commit ad8050a

Please sign in to comment.