Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 640a221

Browse files
Upgrade checkout action from version 3 to 4 (Swatinem#190)
This fixes issue Swatinem#189. This is necessary because GitHub actions are going to drop support for Node.js 16. Version 4 uses Node.js 20. See https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
1 parent 1582741 commit 640a221

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

.github/workflows/buildjet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
CARGO_TERM_COLOR: always
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- run: rustup toolchain install stable --profile minimal --no-self-update
2222

.github/workflows/check-dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
check-dist:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Setup Node.js 20.x
2121
uses: actions/setup-node@v3

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
CARGO_TERM_COLOR: always
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- run: rustup toolchain install stable --profile minimal --component llvm-tools-preview --no-self-update
2222

.github/workflows/git-registry.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
1818

1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121

2222
- run: rustup toolchain install stable --profile minimal --no-self-update
2323

.github/workflows/install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
CARGO_TERM_COLOR: always
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- run: rustup toolchain install stable --profile minimal --no-self-update
2222

.github/workflows/simple.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
CARGO_TERM_COLOR: always
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- run: rustup toolchain install stable --profile minimal --no-self-update
2222

.github/workflows/target-dir.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
CARGO_TERM_COLOR: always
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- run: rustup toolchain install stable --profile minimal --no-self-update
2222

.github/workflows/workspaces.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
CARGO_TERM_COLOR: always
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- run: rustup toolchain install stable --profile minimal --target wasm32-unknown-unknown --no-self-update
2222

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sensible defaults.
66
## Example usage
77

88
```yaml
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010

1111
# selecting a toolchain either by action or manual `rustup` calls should happen
1212
# before the plugin, as the cache uses the current rustc version as its cache key

0 commit comments

Comments
 (0)