Skip to content

Commit

Permalink
Fixed node16 warning in CI (#5040)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvalsw authored Feb 8, 2024
1 parent ba36c67 commit 6074c22
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
ensure-no_std:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-07-05
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- run: |
cd ensure-no_std && cargo build
parallel-tests:
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- test --profile=ci-dev -p cairo-lang-utils --no-default-features --features=serde,parity-scale-codec
- test --profile=ci-dev -p tests
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
components: rustfmt
Expand All @@ -81,7 +81,7 @@ jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
components: rustfmt
Expand All @@ -93,7 +93,7 @@ jobs:
cairofmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: scripts/cairo_fmt.sh --check
Expand All @@ -102,7 +102,7 @@ jobs:
cairotest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: scripts/cairo_test.sh
Expand All @@ -113,14 +113,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Machete
uses: vsuryamurthy/cargo-machete-action@v1

clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
Expand All @@ -131,13 +131,13 @@ jobs:
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: crate-ci/typos@master

docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: >
Expand All @@ -146,7 +146,7 @@ jobs:
sierra-updated-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- run: >
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
asset_name: release-aarch64-apple-darwin.tar
target: aarch64-apple-darwin
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install musl
run: |
if [ "${{ matrix.target }}" == "x86_64-unknown-linux-musl" ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vscode-cairo-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run:
working-directory: ./vscode-cairo
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '18.x'
Expand Down

0 comments on commit 6074c22

Please sign in to comment.