Skip to content

Commit

Permalink
[Chore] Update "actions/checkout"
Browse files Browse the repository at this point in the history
Problem: node16 is now deprecated and github-runner provided by nixpkgs
no longer supports this runtime. However, "actions/checkout@v3" uses
this runtime.

Solution: Update CI pipeline to use "actions/checkout@v4".
  • Loading branch information
rvem committed Dec 12, 2023
1 parent ea6fc7c commit cb757e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
server-matrix: ${{ steps.set-server-matrix.outputs.matrix }}
check-matrix: ${{ steps.set-check-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- id: set-server-matrix
run: echo "matrix=$(nix eval --json .#server-matrix.x86_64-linux)" >> $GITHUB_OUTPUT
Expand All @@ -25,7 +25,7 @@ jobs:
# this matrix consists of the names of all checks defined in flake.nix
matrix: ${{fromJson(needs.get-matrices.outputs.check-matrix)}}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: check
run: nix build -L .#checks.x86_64-linux.${{ matrix.check }}
Expand All @@ -39,7 +39,7 @@ jobs:
# this matrix consists of the names of all servers located in the ./servers directory
matrix: ${{fromJson(needs.get-matrices.outputs.server-matrix)}}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: build
run: nix build -L .#deploy.nodes.${{ matrix.server }}.profiles.system.path

0 comments on commit cb757e1

Please sign in to comment.