Browse Source

ci: Update to `actions/checkout@v4` from `v3`. (#7674)

This mainly updates to use Node 20 rather than Node 16 internally.
pull/7680/head
Bruce Mitchener 11 months ago
committed by GitHub
parent
commit
849b2fca96
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/cargo-audit.yml
  2. 36
      .github/workflows/main.yml
  3. 4
      .github/workflows/performance.yml
  4. 2
      .github/workflows/publish-artifacts.yml
  5. 2
      .github/workflows/publish-to-cratesio.yml
  6. 2
      .github/workflows/release-process.yml

2
.github/workflows/cargo-audit.yml

@ -7,7 +7,7 @@ jobs:
if: github.repository == 'bytecodealliance/wasmtime'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions-rs/audit-check@v1

36
.github/workflows/main.yml

@ -42,7 +42,7 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/install-rust
@ -60,7 +60,7 @@ jobs:
name: Clang format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- run: git ls-files '*.h' '*.c' '*.cpp' | xargs clang-format-15 --dry-run --Werror --verbose
@ -79,7 +79,7 @@ jobs:
if: needs.determine.outputs.audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/install-rust
@ -103,7 +103,7 @@ jobs:
if: needs.determine.outputs.audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/install-rust
@ -138,7 +138,7 @@ jobs:
audit: ${{ steps.calculate.outputs.audit }}
preview1-adapter: ${{ steps.calculate.outputs.preview1-adapter }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: calculate
env:
GH_TOKEN: ${{ github.token }}
@ -202,7 +202,7 @@ jobs:
RUSTDOCFLAGS: -Dbroken_intra_doc_links --cfg nightlydoc
OPENVINO_SKIP_LINKING: 1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/install-rust
@ -269,7 +269,7 @@ jobs:
env:
CARGO_NDK_VERSION: 2.12.2
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/install-rust
@ -351,7 +351,7 @@ jobs:
name: Check Windows ARM64
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/install-rust
@ -371,7 +371,7 @@ jobs:
name: Fuzz Targets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
# Note that building with fuzzers requires nightly since it uses unstable
@ -410,7 +410,7 @@ jobs:
fail-fast: ${{ github.event_name != 'pull_request' }}
matrix: ${{ fromJson(needs.determine.outputs.test-matrix) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/install-rust
@ -529,7 +529,7 @@ jobs:
name: Test wasi-nn module
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/install-rust
@ -557,7 +557,7 @@ jobs:
deployments: write
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- run: rustup update stable && rustup default stable
@ -591,7 +591,7 @@ jobs:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/install-rust
@ -611,7 +611,7 @@ jobs:
name: Meta deterministic check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/install-rust
@ -629,7 +629,7 @@ jobs:
if: github.repository == 'bytecodealliance/wasmtime' && needs.determine.outputs.run-full
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- run: rustup update stable && rustup default stable
@ -667,7 +667,7 @@ jobs:
env:
CARGO_NEXTEST_VERSION: 0.9.51
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/install-rust
@ -709,7 +709,7 @@ jobs:
fail-fast: ${{ github.event_name != 'pull_request' }}
matrix: ${{ fromJson(needs.determine.outputs.build-matrix) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
@ -824,7 +824,7 @@ jobs:
&& startsWith(github.ref, 'refs/heads/release-')
&& github.repository == 'bytecodealliance/wasmtime'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

4
.github/workflows/performance.yml

@ -74,7 +74,7 @@ jobs:
cargo build --release
- name: Checkout patch from bytecodealliance/wasmtime (pushed and triggering on this perf repo)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
path: wasmtime_commit
@ -89,7 +89,7 @@ jobs:
cp target/release/libwasmtime_bench_api.so /tmp/wasmtime_commit.so
- name: Checkout main from bytecodealliance/wasmtime
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: 'main'
repository: 'bytecodealliance/wasmtime'

2
.github/workflows/publish-artifacts.yml

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'bytecodealliance/wasmtime'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
sha=${{ github.sha }}
run_id=$(

2
.github/workflows/publish-to-cratesio.yml

@ -14,7 +14,7 @@ jobs:
if: github.repository == 'bytecodealliance/wasmtime'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- run: rustup update stable && rustup default stable

2
.github/workflows/release-process.yml

@ -38,7 +38,7 @@ jobs:
name: Run the release process
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup

Loading…
Cancel
Save