Skip to content

Commit

Permalink
Upgrade checkout action from version 3 to 4 (#190)
Browse files Browse the repository at this point in the history
This fixes issue #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/
  • Loading branch information
carsten-wenderdel committed Feb 27, 2024
1 parent 1582741 commit 640a221
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/buildjet.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
CARGO_TERM_COLOR: always

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-dist.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node.js 20.x
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
CARGO_TERM_COLOR: always

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/git-registry.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/install.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
CARGO_TERM_COLOR: always

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/simple.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
CARGO_TERM_COLOR: always

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/target-dir.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
CARGO_TERM_COLOR: always

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workspaces.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
CARGO_TERM_COLOR: always

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -6,7 +6,7 @@ sensible defaults.
## Example usage

```yaml
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

0 comments on commit 640a221

Please sign in to comment.