Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/install-cargo-vet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: ${{ runner.tool_cache }}/cargo-vet
key: cargo-vet-bin-${{ inputs.version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cargo-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
env:
CARGO_AUDIT_VERSION: 0.22.1
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: ${{ runner.tool_cache }}/cargo-audit
key: cargo-audit-${{ env.CARGO_AUDIT_VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-cron-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: Trigger release branch CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
fetch-depth: 0
Expand Down
73 changes: 37 additions & 36 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand All @@ -53,7 +53,7 @@ jobs:
name: Check JS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- run: npm install
working-directory: ./crates/explorer
- run: npm run lint
Expand All @@ -68,7 +68,7 @@ jobs:
name: Clang format
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- run: |
Expand All @@ -89,7 +89,7 @@ jobs:
if: needs.determine.outputs.audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
outputs:
outcome: ${{ steps.vet.outcome }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
run-dwarf: ${{ steps.calculate.outputs.run-dwarf }}
platform-checks: ${{ steps.calculate.outputs.platform-checks }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- id: calculate
env:
GH_TOKEN: ${{ github.token }}
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
RUSTDOCFLAGS: -Dwarnings --cfg docsrs
OPENVINO_SKIP_LINKING: 1
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand All @@ -281,7 +281,7 @@ jobs:
- run: cmake --build target/c-api --target doc

# install mdbook, build the docs, and test the docs
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: ${{ runner.tool_cache }}/mdbook
key: cargo-mdbook-${{ env.MDBOOK_VERSION }}-langtabs-${{ env.MDBOOK_LANGTABS_VERSION }}
Expand Down Expand Up @@ -313,7 +313,7 @@ jobs:
mv crates/c-api/html gh-pages/c-api
mv target/doc gh-pages/api
tar czf gh-pages.tar.gz gh-pages
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
with:
name: gh-pages
path: gh-pages.tar.gz
Expand Down Expand Up @@ -413,6 +413,7 @@ jobs:
- name: wasmtime-wasi-http
checks: |
-p wasmtime-wasi-http --no-default-features
-p wasmtime-wasi-http --no-default-features --features p2
-p wasmtime-wasi-http --no-default-features --features p3
-p wasmtime-wasi-http --no-default-features --features p3 --all-targets

Expand All @@ -434,7 +435,7 @@ jobs:
-p wasmtime-wizer --no-default-features --all-features
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand All @@ -453,7 +454,7 @@ jobs:
needs: determine
if: needs.determine.outputs.run-full
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand All @@ -467,7 +468,7 @@ jobs:
env:
CARGO_NDK_VERSION: 2.12.2
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand All @@ -484,7 +485,7 @@ jobs:
env:
CARGO_NDK_VERSION: 2.12.2
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand Down Expand Up @@ -588,7 +589,7 @@ jobs:
test: cargo check -p wasmtime --no-default-features --features runtime,gc,component-model,async
env: ${{ matrix.env || fromJSON('{}') }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand All @@ -612,7 +613,7 @@ jobs:
name: Nightly tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand Down Expand Up @@ -693,7 +694,7 @@ jobs:
flags: -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DBUILD_SHARED_LIBS=ON -DBUILD_TESTS=ON
name: Linux (ASAN)
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand Down Expand Up @@ -730,7 +731,7 @@ jobs:
fail-fast: ${{ github.event_name != 'pull_request' }}
matrix: ${{ fromJson(needs.determine.outputs.test-matrix) }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand Down Expand Up @@ -768,13 +769,13 @@ jobs:
echo CARGO_TARGET_${upcase}_LINKER=${{ matrix.gcc }} >> $GITHUB_ENV
if: matrix.gcc != ''

- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: ${{ runner.tool_cache }}/qemu
key: qemu-${{ matrix.target }}-${{ env.QEMU_BUILD_VERSION }}-patchcpuinfo
if: matrix.qemu != ''

- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: ${{ runner.tool_cache }}/sde
key: sde-${{ env.SDE_BUILD_VERSION }}
Expand Down Expand Up @@ -917,7 +918,7 @@ jobs:
needs: determine
if: needs.determine.outputs.run-full
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand Down Expand Up @@ -959,7 +960,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand Down Expand Up @@ -987,7 +988,7 @@ jobs:
name: Test wasmtime-fuzzing
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand All @@ -1003,7 +1004,7 @@ jobs:
name: Test DWARF debugging
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand Down Expand Up @@ -1033,7 +1034,7 @@ jobs:
deployments: write
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand All @@ -1050,7 +1051,7 @@ jobs:
env:
VERSION: ${{ github.sha }}

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
with:
name: bins-wasi-preview1-component-adapter
path: target/wasm32-unknown-unknown/release/wasi_snapshot_preview1.*.wasm
Expand All @@ -1060,7 +1061,7 @@ jobs:
needs: build-preview1-component-adapter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand All @@ -1075,7 +1076,7 @@ jobs:
if: needs.determine.outputs.run-full
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand All @@ -1102,7 +1103,7 @@ jobs:
MIN_PLATFORM_TEST_DISABLE_WASI: 1

# Add the `wasmtime-platform.h` file as a release artifact
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
with:
name: wasmtime-platform-header
path: examples/min-platform/embedding/wasmtime-platform.h
Expand All @@ -1113,7 +1114,7 @@ jobs:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand All @@ -1127,7 +1128,7 @@ jobs:
name: Meta deterministic check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand All @@ -1139,7 +1140,7 @@ jobs:
if: github.repository == 'bytecodealliance/wasmtime' && needs.determine.outputs.run-full
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
Expand Down Expand Up @@ -1186,14 +1187,14 @@ jobs:
CARGO_NEXTEST_VERSION: 0.9.88
MIRIFLAGS: -Zmiri-permissive-provenance
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/install-rust
with:
toolchain: wasmtime-ci-pinned-nightly
- run: rustup component add rust-src miri
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: ${{ runner.tool_cache }}/cargo-nextest
key: cargo-nextest-bin-${{ env.CARGO_NEXTEST_VERSION }}
Expand All @@ -1220,7 +1221,7 @@ jobs:
matrix: ${{ fromJson(needs.determine.outputs.build-matrix) }}
env: ${{ matrix.env || fromJSON('{}') }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true

Expand Down Expand Up @@ -1248,7 +1249,7 @@ jobs:
# unconditionally to this workflow's files so we have a copy of them.
- run: ./ci/build-tarballs.sh "${{ matrix.build }}" "${{ matrix.target }}"

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
with:
name: bins-${{ matrix.build }}
path: dist
Expand Down Expand Up @@ -1334,7 +1335,7 @@ jobs:
&& startsWith(github.ref, 'refs/heads/release-')
&& github.repository == 'bytecodealliance/wasmtime'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
cargo build --release

- name: Checkout patch from bytecodealliance/wasmtime (pushed and triggering on this perf repo)
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: true
path: wasmtime_commit
Expand All @@ -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@v4
uses: actions/checkout@v6
with:
ref: 'main'
repository: 'bytecodealliance/wasmtime'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'bytecodealliance/wasmtime'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/fetch-run-id
- run: |
gh run download ${COMMIT_RUN_ID}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-cratesio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
environment: publish
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- run: rustup update stable && rustup default stable
Expand Down
Loading
Loading