Skip to content

Commit

Permalink
Use latest Nix (#329)
Browse files Browse the repository at this point in the history
* Use latest Nix

* Update template workflows

* Flakes enabled by default
  • Loading branch information
ThetaSinner authored Jul 11, 2024
1 parent 28a5afa commit 997274e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 18 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
uses: ./.github/actions/extend-space

- name: Install nix
uses: cachix/install-nix-action@v25
uses: cachix/install-nix-action@v27
with:
install_url: https://releases.nixos.org/nix/nix-2.20.0/install
install_url: https://releases.nixos.org/nix/nix-2.23.2/install
extra_nix_config: |
experimental-features = flakes nix-command
- uses: cachix/cachix-action@v14
- uses: cachix/cachix-action@v15
with:
name: holochain-ci

Expand All @@ -66,13 +66,11 @@ jobs:
uses: ./.github/actions/extend-space

- name: Install nix
uses: cachix/install-nix-action@v25
uses: cachix/install-nix-action@v27
with:
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
extra_nix_config: |
experimental-features = flakes nix-command
install_url: https://releases.nixos.org/nix/nix-2.23.2/install

- uses: cachix/cachix-action@v14
- uses: cachix/cachix-action@v15
with:
name: holochain-ci

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ jobs:
- uses: actions/checkout@v4

- name: Install nix
uses: cachix/install-nix-action@v25
uses: cachix/install-nix-action@v27
with:
install_url: https://releases.nixos.org/nix/nix-2.12.0/install
extra_nix_config: |
experimental-features = flakes nix-command
install_url: https://releases.nixos.org/nix/nix-2.23.2/install

- uses: cachix/cachix-action@v10
- uses: cachix/cachix-action@v15
with:
name: holochain-ci

Expand Down
8 changes: 3 additions & 5 deletions templates/generic/web-app/.github/workflows/test.yaml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ jobs:
- uses: actions/checkout@v4

- name: Install nix
uses: cachix/install-nix-action@v25
uses: cachix/install-nix-action@v27
with:
install_url: https://releases.nixos.org/nix/nix-2.20.0/install
extra_nix_config: |
experimental-features = flakes nix-command
install_url: https://releases.nixos.org/nix/nix-2.23.2/install

- uses: cachix/cachix-action@v14
- uses: cachix/cachix-action@v15
with:
name: holochain-ci

Expand Down

0 comments on commit 997274e

Please sign in to comment.