Skip to content

Commit 0ca67c5

Browse files
authored
Update GH Actions and fix NodeJS16 deprecation warnings (#1349)
* [ci] Update Actions to fix NodeJS16 deprecation warnings * [ci] Set Codecov token
1 parent 978fa3f commit 0ca67c5

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
45+
uses: github/codeql-action/init@v3
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -56,7 +56,7 @@ jobs:
5656
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5757
# If this step fails, then you should remove it and run the build manually (see below)
5858
- name: Autobuild
59-
uses: github/codeql-action/autobuild@v2
59+
uses: github/codeql-action/autobuild@v3
6060

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

7171
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@v2
72+
uses: github/codeql-action/analyze@v3
7373
with:
7474
category: "/language:${{matrix.language}}"

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.11', '3.12' ]
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Build Docker
2626
run: |
2727
make docker-qa-build PYTHON_VERSION=${{matrix.python-version}}
@@ -31,7 +31,8 @@ jobs:
3131
make docker-qa PYTHON_VERSION=${{matrix.python-version}}
3232
- name: Creating coverage report
3333
if: ${{ ( matrix.python-version == '3.8' ) }}
34-
uses: codecov/codecov-action@v3
34+
uses: codecov/codecov-action@v4
3535
with:
3636
files: ./coverage.xml
3737
fail_ci_if_error: true
38+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)