From b24a9ceb350f75e87768714c13c89ccd89ff46e5 Mon Sep 17 00:00:00 2001 From: Hans Trompert Date: Mon, 8 Apr 2024 10:26:46 +0200 Subject: [PATCH 1/9] upgrade workflow codeql analysis action versions --- .github/workflows/codeql-analysis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 603d2ddd..aaf8c30a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,11 +39,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -54,7 +54,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -68,4 +68,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v3 From 0d551e5885599d05707515f2c12ef0ff9e34db85 Mon Sep 17 00:00:00 2001 From: Hans Trompert Date: Mon, 8 Apr 2024 10:48:09 +0200 Subject: [PATCH 2/9] upgrade workflow build and push container action versions --- .github/workflows/build-push-container.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-push-container.yml b/.github/workflows/build-push-container.yml index dbbda043..c1b6eb57 100644 --- a/.github/workflows/build-push-container.yml +++ b/.github/workflows/build-push-container.yml @@ -19,10 +19,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + 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: ${{ github.actor }} @@ -30,12 +30,12 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Build and push Docker image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: true From 96cdd86b3888faed6bb462ff3de8d1d6950eb143 Mon Sep 17 00:00:00 2001 From: Hans Trompert Date: Mon, 8 Apr 2024 10:48:31 +0200 Subject: [PATCH 3/9] upgrade workflow pull request action versions --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index f392e8d1..e5d7c3ff 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: pull-request-action - uses: vsoch/pull-request-action@1.0.13 + uses: vsoch/pull-request-action@1.1.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH_PREFIX: "" From 7f29b8a86a2ced764a6e2a5f02c99e6b0882f41e Mon Sep 17 00:00:00 2001 From: Hans Trompert Date: Mon, 8 Apr 2024 10:48:55 +0200 Subject: [PATCH 4/9] upgrade workflow run linting tests action versions --- .github/workflows/run-linting-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-linting-tests.yml b/.github/workflows/run-linting-tests.yml index 9eb8addb..be3e170e 100644 --- a/.github/workflows/run-linting-tests.yml +++ b/.github/workflows/run-linting-tests.yml @@ -17,9 +17,9 @@ jobs: python-version: [3.8.12] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies From 386696bf6feca7583e49fa8151675988a2a3fbd8 Mon Sep 17 00:00:00 2001 From: Hans Trompert Date: Mon, 8 Apr 2024 10:49:26 +0200 Subject: [PATCH 5/9] upgrade workflow run unit tests action versions --- .github/workflows/run-unit-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 275a1c86..16cb9e5b 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -12,7 +12,7 @@ jobs: steps: # Downloads a copy of the code in your repository before running CI tests - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: | apt update @@ -23,7 +23,7 @@ jobs: - name: Run Unit tests run: pytest --cov-report term-missing --cov-report=xml --cov=src tests - name: "Upload coverage to Codecov" - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true files: ./coverage.xml From 1e3f30f3ec3f3a7a164c9b62246c1a698463c5cb Mon Sep 17 00:00:00 2001 From: Hans Trompert Date: Mon, 8 Apr 2024 17:56:47 +0200 Subject: [PATCH 6/9] revert back to codecov action v3 --- .github/workflows/run-unit-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 16cb9e5b..95ff797c 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -23,7 +23,7 @@ jobs: - name: Run Unit tests run: pytest --cov-report term-missing --cov-report=xml --cov=src tests - name: "Upload coverage to Codecov" - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v3 with: fail_ci_if_error: true files: ./coverage.xml From f612bfb7a196930e82be039b8d9a82f88c0c72df Mon Sep 17 00:00:00 2001 From: Hans Trompert Date: Mon, 8 Apr 2024 18:05:40 +0200 Subject: [PATCH 7/9] add CODECOV_TOKEN to codecov action env --- .github/workflows/run-unit-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 95ff797c..6cf83173 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -28,3 +28,5 @@ jobs: fail_ci_if_error: true files: ./coverage.xml verbose: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 726e1cac46b2d5a873c9cb5cbba427864bafd4f1 Mon Sep 17 00:00:00 2001 From: Hans Trompert Date: Mon, 8 Apr 2024 18:17:46 +0200 Subject: [PATCH 8/9] try codecov action v4 again --- .github/workflows/run-unit-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 6cf83173..64054ac8 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -23,7 +23,7 @@ jobs: - name: Run Unit tests run: pytest --cov-report term-missing --cov-report=xml --cov=src tests - name: "Upload coverage to Codecov" - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true files: ./coverage.xml From 1c60b4d383ceefd276b44f767cc2d6c225669ab5 Mon Sep 17 00:00:00 2001 From: Hans Trompert Date: Tue, 9 Apr 2024 09:37:40 +0200 Subject: [PATCH 9/9] Revert "try codecov action v4 again" This reverts commit 726e1cac46b2d5a873c9cb5cbba427864bafd4f1. --- .github/workflows/run-unit-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 64054ac8..6cf83173 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -23,7 +23,7 @@ jobs: - name: Run Unit tests run: pytest --cov-report term-missing --cov-report=xml --cov=src tests - name: "Upload coverage to Codecov" - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v3 with: fail_ci_if_error: true files: ./coverage.xml