Skip to content

Commit

Permalink
Upgrade to actions/checkout@v3 in CI to fix Node.js deprecation warni…
Browse files Browse the repository at this point in the history
…ngs (FuelLabs#4305)

## Description

As title says, upgrades to actions/checkout@v3 in CI to fix Node.js
deprecation warnings
  • Loading branch information
tritao authored Mar 20, 2023
1 parent 1ce1adc commit 0b20270
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build-sway-lib-core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -36,7 +36,7 @@ jobs:
build-sway-lib-std:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -50,7 +50,7 @@ jobs:
build-sway-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -62,7 +62,7 @@ jobs:
forc-fmt-check-sway-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -74,7 +74,7 @@ jobs:
build-mdbook:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
build-forc-doc-sway-lib-std:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -140,7 +140,7 @@ jobs:
build-forc-test-project:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
cargo-build-workspace:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -186,7 +186,7 @@ jobs:
cargo-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -199,7 +199,7 @@ jobs:
cargo-toml-fmt-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -215,7 +215,7 @@ jobs:
cargo-fmt-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -232,7 +232,7 @@ jobs:
ports:
- 4000:4000
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -244,7 +244,7 @@ jobs:
cargo-run-e2e-test-evm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -256,7 +256,7 @@ jobs:
cargo-run-e2e-test-midenvm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -269,7 +269,7 @@ jobs:
cargo-test-lib-std:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -283,7 +283,7 @@ jobs:
forc-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -297,7 +297,7 @@ jobs:
forc-pkg-fuels-deps-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand Down Expand Up @@ -333,7 +333,7 @@ jobs:
cargo-test-workspace:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -345,7 +345,7 @@ jobs:
cargo-unused-deps-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand Down Expand Up @@ -410,7 +410,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install toolchain
uses: dtolnay/rust-toolchain@master
Expand Down Expand Up @@ -483,7 +483,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Docker meta
id: meta
Expand Down Expand Up @@ -545,7 +545,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Docker meta
id: meta
Expand Down Expand Up @@ -620,7 +620,7 @@ jobs:
svm_target_platform: macosx-aarch64
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install toolchain
uses: dtolnay/rust-toolchain@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: Swatinem/rust-cache@v1
- uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit 0b20270

Please sign in to comment.