Skip to content

Commit a7dbbb1

Browse files
authored
chore(ci): Update deprecated github actions (#813)
* chore(ci): Bump upload-artifact to v4 * Update other deprecated actions
1 parent 0372f6e commit a7dbbb1

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/workflows/actions/test-and-build/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030
# Default Python (3.12) doesn't have support for distutils because of
3131
# which the dep install fails constantly on macos
3232
# https://github.com/nodejs/node-gyp/issues/2869
33-
- uses: actions/setup-python@v4
33+
- uses: actions/setup-python@v5
3434
with:
3535
python-version: '3.11'
3636

@@ -105,7 +105,7 @@ runs:
105105
shell: bash
106106

107107
- name: Upload artifacts
108-
uses: actions/upload-artifact@v2
108+
uses: actions/upload-artifact@v4
109109
with:
110110
name: VSIX built on ${{ runner.os }}
111111
path: |

.github/workflows/codeql.yml

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

4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v4
4545

4646
# Initializes the CodeQL tools for scanning.
4747
- name: Initialize CodeQL
48-
uses: github/codeql-action/init@v2
48+
uses: github/codeql-action/init@v3
4949
with:
5050
languages: ${{ matrix.language }}
5151
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -66,7 +66,7 @@ jobs:
6666
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
6767
# If this step fails, then you should remove it and run the build manually (see below)
6868
- name: Autobuild
69-
uses: github/codeql-action/autobuild@v2
69+
uses: github/codeql-action/autobuild@v3
7070

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

8181
- name: Perform CodeQL Analysis
82-
uses: github/codeql-action/analyze@v2
82+
uses: github/codeql-action/analyze@v3
8383
with:
8484
category: "/language:${{matrix.language}}"

.github/workflows/draft-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
with:
2828
# NOTE: this is necessary to get the full history
2929
# and check if tags are already present
3030
fetch-depth: 0
3131

3232
- name: Setup Node.js Environment
33-
uses: actions/setup-node@v3
33+
uses: actions/setup-node@v4
3434
with:
3535
node-version: 20.16.0
3636

.github/workflows/publish-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Setup Node.js Environment
13-
uses: actions/setup-node@v3
13+
uses: actions/setup-node@v4
1414
with:
1515
node-version: 20.16.0
1616

.github/workflows/rebuild-changelog.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Rebuild changelog
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
with:
2222
# don't checkout a detached HEAD, is important to have a real base
2323
# branch when creating a PR

.github/workflows/test-and-build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
with:
2828
fetch-depth: 0
2929

3030
- name: Setup Node.js Environment
31-
uses: actions/setup-node@v3
31+
uses: actions/setup-node@v4
3232
with:
3333
node-version: 20.16.0
3434

0 commit comments

Comments
 (0)