Skip to content

Commit 2771213

Browse files
committed
Update CI actions
1 parent a4b1de5 commit 2771213

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
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@v2
41+
uses: actions/checkout@v3
4242

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

5858
# ℹ️ Command-line programs to run using the OS shell.
5959
# 📚 https://git.io/JvXDl
@@ -67,4 +67,4 @@ jobs:
6767
# make release
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v1
70+
uses: github/codeql-action/analyze@v2

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build: # make sure build/ci work properly
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
- name: Install node dependencies
1515
run: |
1616
npm install
@@ -20,7 +20,7 @@ jobs:
2020
run: |
2121
npm run all
2222
- name: Upload dist
23-
uses: actions/upload-artifact@v2
23+
uses: actions/upload-artifact@v3
2424
with:
2525
name: dist
2626
path: dist
@@ -30,9 +30,9 @@ jobs:
3030
needs:
3131
- build
3232
steps:
33-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v3
3434
- name: Download dist
35-
uses: actions/download-artifact@v2
35+
uses: actions/download-artifact@v3
3636
with:
3737
name: dist
3838
path: dist
@@ -50,12 +50,12 @@ jobs:
5050
- build
5151
- test
5252
steps:
53-
- uses: actions/checkout@v2
53+
- uses: actions/checkout@v3
5454
with:
5555
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
5656
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
5757
- name: Download dist
58-
uses: actions/download-artifact@v2
58+
uses: actions/download-artifact@v3
5959
with:
6060
name: dist
6161
path: dist

0 commit comments

Comments
 (0)