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 13367bf commit aa6a760
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
validate:
runs-on: [self-hosted, nix]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: check trailing whitespaces
run: nix build -L .#checks.x86_64-linux.trailing-whitespace
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
build:
runs-on: [self-hosted, nix]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: build
run: nix build -L .#checks.x86_64-linux.build-all
Expand All @@ -52,7 +52,7 @@ jobs:
runs-on: [self-hosted, nix]
needs: [build]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: test
run: nix build -L .#checks.x86_64-linux.test
Expand All @@ -66,7 +66,7 @@ jobs:
needs: [test]
if: ${{ github.ref == 'refs/heads/staging' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: deploy staging
run: nix develop .#ci -c deploy .#staging --ssh-user deploy --skip-checks

0 comments on commit aa6a760

Please sign in to comment.