Skip to content

Commit 53b7e56

Browse files
committed
Update remaining workflow files
1 parent 286def9 commit 53b7e56

File tree

6 files changed

+19
-33
lines changed

6 files changed

+19
-33
lines changed

.github/workflows/artifact.yaml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,33 @@ name: Artifact
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
env:
1010
RUSTFLAGS: -Dwarnings
1111

1212
jobs:
1313
build_artifact:
1414
name: Build artifact
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-22.04
1616

1717
steps:
1818
- uses: actions/checkout@v3
19-
20-
- uses: actions-rs/toolchain@v1
21-
with:
22-
toolchain: stable
23-
profile: minimal
24-
override: true
19+
- uses: dtolnay/rust-toolchain@stable
2520

2621
- uses: jetli/[email protected]
2722
with:
2823
version: 'latest'
2924

3025
- uses: actions/setup-node@v3
3126
with:
32-
node-version: '12'
27+
node-version: '16'
3328

34-
- uses: Swatinem/rust-cache@v1
29+
- uses: Swatinem/rust-cache@v2
3530
with:
36-
working-directory: rust
31+
workspaces: rust
3732

3833
- uses: actions/cache@v3
3934
with:

.github/workflows/audit.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ on:
1010

1111
jobs:
1212
security_audit:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414
steps:
1515
- uses: actions/checkout@v3
16-
- uses: Swatinem/rust-cache@v1
17-
# cannot use, because no support for work dirs yet:
18-
# - uses: actions-rs/audit-check@v1
19-
# with:
20-
# token: ${{ secrets.GITHUB_TOKEN }}
16+
- uses: Swatinem/rust-cache@v2
2117
- run: make ci.audit

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Continuous Integration
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
env:
1010
RUSTFLAGS: -Dwarnings

.github/workflows/codeql-analysis.yml

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

1414
on:
1515
push:
16-
branches: [ main ]
16+
branches: [main]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ main ]
20-
paths:
21-
- 'node'
19+
branches: [main]
20+
paths: [node]
2221
schedule:
2322
- cron: '36 0 * * 1'
2423

@@ -34,7 +33,7 @@ jobs:
3433
strategy:
3534
fail-fast: false
3635
matrix:
37-
language: [ 'javascript' ]
36+
language: [javascript]
3837
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
3938
# Learn more:
4039
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

.github/workflows/dependabot-auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
auto-merge:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-22.04
1212
if: github.actor == 'dependabot[bot]'
1313
steps:
1414
- uses: actions/checkout@v3

.github/workflows/release.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,20 @@ env:
1010
jobs:
1111
build_and_release:
1212
name: Create GitHub Release
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414

1515
steps:
1616
- uses: actions/checkout@v3
1717

18-
- uses: actions-rs/toolchain@v1
19-
with:
20-
toolchain: stable
21-
profile: minimal
22-
override: true
18+
- uses: dtolnay/rust-toolchain@stable
2319

2420
- uses: jetli/[email protected]
2521
with:
2622
version: 'latest'
2723

2824
- uses: actions/setup-node@v3
2925
with:
30-
node-version: '12'
26+
node-version: '16'
3127

3228
- uses: Swatinem/rust-cache@v1
3329
with:

0 commit comments

Comments
 (0)