From cb757e19ccd9a0d99cb12bce8c0deb95e21067e0 Mon Sep 17 00:00:00 2001 From: Roman Melnikov Date: Tue, 12 Dec 2023 12:40:58 +0100 Subject: [PATCH] [Chore] Update "actions/checkout" 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". --- .github/workflows/check.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7e7e245..fc7daf4 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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 @@ -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 }} @@ -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