Skip to content

Commit f147b82

Browse files
committed
Pin checkout to v4 and add explicit Rust toolchain step in ci and render workflows
1 parent dda767a commit f147b82

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
12+
13+
- name: Install Rust toolchain
14+
uses: dtolnay/rust-toolchain@stable
1215

1316
- name: Prevent file change
1417
uses: xalvarez/prevent-file-change-action@v1

.github/workflows/render.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,23 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10-
10+
1111
permissions:
1212
# Give the default GITHUB_TOKEN write permission to commit and push the
1313
# added or changed files to the repository.
1414
contents: write
1515

1616
steps:
17-
- uses: actions/checkout@v3
18-
17+
- uses: actions/checkout@v4
18+
19+
- name: Install Rust toolchain
20+
uses: dtolnay/rust-toolchain@stable
21+
1922
- name: Render list
2023
run: make render
2124
env:
2225
GITHUB_TOKEN: ${{ github.token }}
23-
26+
2427
- uses: stefanzweifel/git-auto-commit-action@v4.1.2
2528
with:
2629
commit_message: Commit list

0 commit comments

Comments
 (0)