From 6deebf1d0a8a7a5ddf2af38d969e6783fca99c02 Mon Sep 17 00:00:00 2001 From: Albert Ziegenhagel Date: Thu, 11 Apr 2024 23:52:26 +0200 Subject: [PATCH] Update github actions Updates deprecated github actions to newer version that use Node.js 20. --- .github/workflows/ci.yml | 2 +- .github/workflows/clang-format.yml | 2 +- .github/workflows/coverage.yml | 4 ++-- .github/workflows/deploy-head.yml | 6 +++--- .github/workflows/test-data.yml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fc4b97..d6f4118 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,7 +63,7 @@ jobs: echo "CC=clang-17" >> $GITHUB_ENV echo "CXX=clang++-17" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: lfs: 'true' diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index e7c232e..3aab630 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -11,7 +11,7 @@ jobs: name: Check clang-format runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run clang-format uses: DoozyX/clang-format-lint-action@v0.16.2 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 891841e..9003d16 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -42,7 +42,7 @@ jobs: echo "CC=clang-17" >> $GITHUB_ENV echo "CXX=clang++-17" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: lfs: 'true' @@ -71,7 +71,7 @@ jobs: run: cmake --build ${{ github.workspace }}/build/coverage --target code_coverage_export_lcov - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} files: ${{ github.workspace }}/build/coverage/coverage.info diff --git a/.github/workflows/deploy-head.yml b/.github/workflows/deploy-head.yml index be03047..8e7c952 100644 --- a/.github/workflows/deploy-head.yml +++ b/.github/workflows/deploy-head.yml @@ -16,7 +16,7 @@ jobs: is_newer: ${{ steps.step1.outputs.result }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -42,7 +42,7 @@ jobs: if: needs.check.outputs.is_newer == 1 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Update head tag run: | @@ -133,7 +133,7 @@ jobs: - assets steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Mark release as non-draft run: | diff --git a/.github/workflows/test-data.yml b/.github/workflows/test-data.yml index e9d5f2b..c52b392 100644 --- a/.github/workflows/test-data.yml +++ b/.github/workflows/test-data.yml @@ -15,7 +15,7 @@ jobs: run-on: [windows-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install ninja if: runner.os == 'Linux'