Skip to content

Commit

Permalink
Update GH Actions and fix NodeJS16 deprecation warnings (#1349)
Browse files Browse the repository at this point in the history
* [ci] Update Actions to fix NodeJS16 deprecation warnings

* [ci] Set Codecov token
  • Loading branch information
offa authored Mar 17, 2024
1 parent 978fa3f commit 0ca67c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,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@v2
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.
Expand All @@ -56,7 +56,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@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -69,6 +69,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.11', '3.12' ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build Docker
run: |
make docker-qa-build PYTHON_VERSION=${{matrix.python-version}}
Expand All @@ -31,7 +31,8 @@ jobs:
make docker-qa PYTHON_VERSION=${{matrix.python-version}}
- name: Creating coverage report
if: ${{ ( matrix.python-version == '3.8' ) }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 0ca67c5

Please sign in to comment.