forked from DGNum/colmena
.github: Update actions, switch to DetSys installer
This commit is contained in:
parent
95c5fa17fc
commit
9a81798083
5 changed files with 24 additions and 36 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
@ -18,16 +18,13 @@ jobs:
|
|||
name: ${{ matrix.os.label }} + Nix ${{ matrix.nix.version }}
|
||||
runs-on: ${{ matrix.os.image }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- uses: actions/checkout@v3.3.0
|
||||
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
install_url: ${{ matrix.nix.url }}
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- name: Install Nix
|
||||
uses: zhaofengli/nix-installer-action@zhaofeng
|
||||
|
||||
- name: Enable Binary Cache
|
||||
uses: cachix/cachix-action@v10
|
||||
uses: cachix/cachix-action@v12
|
||||
with:
|
||||
name: colmena
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
|
13
.github/workflows/linters.yml
vendored
13
.github/workflows/linters.yml
vendored
|
@ -16,16 +16,13 @@ jobs:
|
|||
url: https://releases.nixos.org/nix/nix-2.10.3/install
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: actions/checkout@v3.3.0
|
||||
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
install_url: ${{ matrix.nix.url }}
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- name: Install Nix
|
||||
uses: zhaofengli/nix-installer-action@zhaofeng
|
||||
|
||||
- name: Enable binary cache (optional)
|
||||
uses: cachix/cachix-action@v10
|
||||
- name: Enable binary cache
|
||||
uses: cachix/cachix-action@v12
|
||||
with:
|
||||
name: colmena
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
|
12
.github/workflows/manual-stable.yml
vendored
12
.github/workflows/manual-stable.yml
vendored
|
@ -22,15 +22,13 @@ jobs:
|
|||
url: https://releases.nixos.org/nix/nix-2.10.3/install
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- uses: actions/checkout@v3.3.0
|
||||
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
install_url: ${{ matrix.nix.url }}
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- name: Install Nix
|
||||
uses: zhaofengli/nix-installer-action@zhaofeng
|
||||
|
||||
- uses: cachix/cachix-action@v10
|
||||
- name: Enable Binary Cache
|
||||
uses: cachix/cachix-action@v12
|
||||
with:
|
||||
name: colmena
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
|
12
.github/workflows/manual.yml
vendored
12
.github/workflows/manual.yml
vendored
|
@ -22,15 +22,13 @@ jobs:
|
|||
url: https://releases.nixos.org/nix/nix-2.10.3/install
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- uses: actions/checkout@v3.3.0
|
||||
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
install_url: ${{ matrix.nix.url }}
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- name: Install Nix
|
||||
uses: zhaofengli/nix-installer-action@zhaofeng
|
||||
|
||||
- uses: cachix/cachix-action@v10
|
||||
- name: Enable Binary Cache
|
||||
uses: cachix/cachix-action@v12
|
||||
with:
|
||||
name: colmena
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
|
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
|
@ -20,17 +20,15 @@ jobs:
|
|||
name: ${{ matrix.os.label }} + Nix ${{ matrix.nix.version }}
|
||||
runs-on: ${{ matrix.os.image }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.5
|
||||
- uses: actions/checkout@v3.3.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
install_url: ${{ matrix.nix.url }}
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- name: Install Nix
|
||||
uses: zhaofengli/nix-installer-action@zhaofeng
|
||||
|
||||
- uses: cachix/cachix-action@v10
|
||||
- name: Enable Binary Cache
|
||||
uses: cachix/cachix-action@v12
|
||||
with:
|
||||
name: colmena
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
|
Loading…
Reference in a new issue