feat(ci): Update outdated actions

This commit is contained in:
Jalil David Salamé Messina 2024-03-17 00:31:26 +01:00
parent ae83b3e9b2
commit 40a4b18af2
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -14,9 +14,9 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v9 - uses: DeterminateSystems/nix-installer-action@v10
- if: ${{ github.event_name != 'pull_request' }} # Do not cache pull requests - if: ${{ github.event_name != 'pull_request' }} # Do not cache pull requests
uses: DeterminateSystems/magic-nix-cache-action@v3 uses: DeterminateSystems/magic-nix-cache-action@v4
- name: Run `nix flake check` - name: Run `nix flake check`
run: nix flake check run: nix flake check
lockfile: lockfile:
@ -25,7 +25,7 @@ jobs:
if: ${{ github.event_name == 'schedule' }} # only run when scheduled if: ${{ github.event_name == 'schedule' }} # only run when scheduled
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v9 - uses: DeterminateSystems/nix-installer-action@v10
- uses: DeterminateSystems/update-flake-lock@v21 - uses: DeterminateSystems/update-flake-lock@v21
- name: Run `nix flake check` - name: Run `nix flake check`
run: nix flake check run: nix flake check
@ -34,8 +34,8 @@ jobs:
if: ${{ github.event_name != 'schedule' }} # only run when not scheduled if: ${{ github.event_name != 'schedule' }} # only run when not scheduled
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v9 - uses: DeterminateSystems/nix-installer-action@v10
- uses: DeterminateSystems/magic-nix-cache-action@v3 - uses: DeterminateSystems/magic-nix-cache-action@v4
- name: Build documentation - name: Build documentation
run: nix build .#docs --print-build-logs run: nix build .#docs --print-build-logs
- name: Upload artifact - name: Upload artifact