Skip to content

Commit e459991

Browse files
authored
Update actions (#972)
* Update actions * Update node versions
1 parent 4f619fa commit e459991

File tree

7 files changed

+24
-24
lines changed

7 files changed

+24
-24
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ master ]
16+
branches: [master]
1717
schedule:
1818
- cron: '21 2 * * 2'
1919

@@ -29,28 +29,28 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
language: [ 'javascript' ]
32+
language: ['javascript']
3333
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3434
# Learn more about CodeQL language support at https://git.io/codeql-language-support
3535

3636
steps:
37-
- name: Checkout repository
38-
uses: actions/checkout@v2
37+
- name: Checkout repository
38+
uses: actions/checkout@v3
3939

4040
# Initializes the CodeQL tools for scanning.
41-
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v2
43-
with:
44-
languages: ${{ matrix.language }}
41+
- name: Initialize CodeQL
42+
uses: github/codeql-action/init@v2
43+
with:
44+
languages: ${{ matrix.language }}
4545
# If you wish to specify custom queries, you can do so here or in a config file.
4646
# By default, queries listed here will override any specified in a config file.
4747
# Prefix the list here with "+" to use these queries and those in the config file.
4848
# queries: ./path/to/local/query, your-org/your-repo/queries@main
4949

5050
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
52-
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v2
52+
- name: Autobuild
53+
uses: github/codeql-action/autobuild@v2
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 https://git.io/JvXDl
@@ -63,5 +63,5 @@ jobs:
6363
# make bootstrap
6464
# make release
6565

66-
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v2
66+
- name: Perform CodeQL Analysis
67+
uses: github/codeql-action/analyze@v2

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Compress docs
3030
run: tar czf docs.tar.gz docs
3131

32-
- uses: actions/upload-artifact@v2
32+
- uses: actions/upload-artifact@v3
3333
with:
3434
name: documentation
3535
path: docs.tar.gz
@@ -42,7 +42,7 @@ jobs:
4242
- build
4343

4444
steps:
45-
- uses: actions/download-artifact@v2
45+
- uses: actions/download-artifact@v3
4646
with:
4747
name: documentation
4848
path: docs

.github/workflows/prepare_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
RELEASE_VERSION: ${{ steps.get_version.outputs.version }}
6161

6262
- name: Create PR
63-
uses: actions/github-script@v5
63+
uses: actions/github-script@v6
6464
env:
6565
RELEASE_VERSION: ${{ steps.get_version.outputs.version }}
6666
BASE: ${{ github.event.ref }}

.github/workflows/prerelease.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: actions/setup-node@v1
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-node@v3
1111
with:
12-
node-version: "12.x"
12+
node-version: 16
1313
- run: |
1414
yarn
1515
yarn publish --tag=beta --tag=latest

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: actions/setup-node@v1
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-node@v3
1111
with:
12-
node-version: "12.x"
12+
node-version: 16
1313
- run: yarn
1414
- run: yarn publish --tag=latest
1515
env:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
2525

2626
- name: Create release
27-
uses: actions/github-script@v5
27+
uses: actions/github-script@v6
2828
env:
2929
RELEASE_BRANCH: ${{ github.head_ref }}
3030
with:
@@ -71,7 +71,7 @@ jobs:
7171
POST_RELEASE_BRANCH: post-${{ github.head_ref }}
7272

7373
- name: Create PR
74-
uses: actions/github-script@v5
74+
uses: actions/github-script@v6
7575
env:
7676
POST_RELEASE_BRANCH: post-${{ github.head_ref }}
7777
BASE: master

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
stale:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/stale@v4
12+
- uses: actions/stale@v7
1313
with:
1414
repo-token: ${{ secrets.GITHUB_TOKEN }}
1515
stale-issue-message: >-

0 commit comments

Comments
 (0)