From 6074c2267aa010844872576a14510a10d13fdceb Mon Sep 17 00:00:00 2001 From: yuvalsw <105596564+yuvalsw@users.noreply.github.com> Date: Thu, 8 Feb 2024 17:35:43 +0200 Subject: [PATCH] Fixed node16 warning in CI (#5040) --- .github/workflows/ci.yml | 24 ++++++++++++------------ .github/workflows/release.yaml | 2 +- .github/workflows/vscode-cairo-ci.yaml | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32b139f83d4..54c702ca635 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ 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 @@ -19,7 +19,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - run: | cd ensure-no_std && cargo build - + parallel-tests: runs-on: ubuntu-latest strategy: @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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: > @@ -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: > diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3e99faaea0a..c2bd35de99a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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" ] diff --git a/.github/workflows/vscode-cairo-ci.yaml b/.github/workflows/vscode-cairo-ci.yaml index 5ad7857ae79..5c3576397f2 100644 --- a/.github/workflows/vscode-cairo-ci.yaml +++ b/.github/workflows/vscode-cairo-ci.yaml @@ -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'