ci: update actions
This commit is contained in:
parent
da95309ed3
commit
dfa4d66654
4 changed files with 22 additions and 17 deletions
21
.github/workflows/nix.yml
vendored
21
.github/workflows/nix.yml
vendored
|
@ -20,27 +20,32 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v9
|
||||
uses: DeterminateSystems/nix-installer-action@v10
|
||||
|
||||
- name: Setup Nix cache
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v2
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v4
|
||||
|
||||
- name: Build refraction
|
||||
run: nix build -L --fallback
|
||||
run: nix build --fallback --print-build-logs
|
||||
|
||||
check:
|
||||
name: Check
|
||||
runs-on: ubuntu-latest
|
||||
name: Check flake
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v9
|
||||
uses: DeterminateSystems/nix-installer-action@v10
|
||||
|
||||
- name: Setup Nix cache
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v2
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v4
|
||||
|
||||
- name: Run checks
|
||||
run: nix flake check -L --show-trace
|
||||
run: nix flake check --print-build-logs --show-trace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue