From 9d4e4062f7c4c82ff177c930abb9dc2c6f69fb67 Mon Sep 17 00:00:00 2001 From: Sergio Arroutbi Date: Tue, 27 Feb 2024 11:17:46 +0100 Subject: [PATCH] Include newest Node20 versions for Github actions Resolves: #753 Signed-off-by: Sergio Arroutbi --- .github/workflows/container.yml | 6 +++--- .github/workflows/rust.yml | 2 +- .github/workflows/submit-HEAD-coverage.yaml | 4 ++-- .github/workflows/submit-PR-coverage.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 95f94a80..9fbdb06d 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -22,7 +22,7 @@ jobs: uses: actions/checkout@v4 - name: Log in to the Container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ secrets.QUAY_USER }} @@ -30,7 +30,7 @@ jobs: - name: Generate docker metadata for keylime_agent id: meta_agent - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ${{ env.IMAGE_BASE }}/keylime_agent @@ -41,7 +41,7 @@ jobs: - name: Build and push agent image id: build_agent - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 env: VERSION: "${{ steps.meta_base.outputs.version }}" with: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0d39928a..d59bdf19 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v4 - name: Run tests run: docker run --security-opt seccomp=tests/seccomp-profile.json -v $(pwd):/tmp/code_under_test -w /tmp/code_under_test quay.io/keylime/keylime-ci:latest dbus-run-session -- /tmp/code_under_test/tests/run.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: tarpaulin-report path: | diff --git a/.github/workflows/submit-HEAD-coverage.yaml b/.github/workflows/submit-HEAD-coverage.yaml index eb3e71c7..1a1fc7b8 100644 --- a/.github/workflows/submit-HEAD-coverage.yaml +++ b/.github/workflows/submit-HEAD-coverage.yaml @@ -25,12 +25,12 @@ jobs: - name: List downloaded files. run: ls - name: Upload e2e_coverage report to Codecov with GitHub Action. - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: files: e2e_coverage.txt flags: e2e-testsuite - name: Upload upstream_coverage report to Codecov with GitHub Action. - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: files: upstream_coverage.xml flags: upstream-unit-tests diff --git a/.github/workflows/submit-PR-coverage.yaml b/.github/workflows/submit-PR-coverage.yaml index 574095f7..5d18f3a8 100644 --- a/.github/workflows/submit-PR-coverage.yaml +++ b/.github/workflows/submit-PR-coverage.yaml @@ -20,12 +20,12 @@ jobs: - name: List downloaded files. run: ls - name: Upload e2e_coverage.txt report to Codecov with GitHub Action. - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: files: scripts/e2e_coverage.txt flags: e2e-testsuite - name: Upload upstream_coverage.xml report to Codecov with GitHub Action. - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: files: scripts/upstream_coverage.xml flags: upstream-unit-tests