diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 3a6a472..c28a17f 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -86,7 +86,7 @@ jobs: # `cargo-hack` checks combinations of feature flags to ensure that features # are all additive which is required for feature unification. runs-on: ubuntu-latest - name: ubuntu / stable / features + name: stable / features steps: - uses: actions/checkout@v4 with: @@ -105,7 +105,7 @@ jobs: run: cargo hack check --feature-powerset --depth 2 --release --target wasm32-unknown-unknown --skip std --workspace --exclude e2e --exclude basic-example-script --exclude benches typos: runs-on: ubuntu-latest - name: ubuntu / stable / typos + name: stable / typos steps: - name: Checkout Actions Repository uses: actions/checkout@v4 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a525bea..96730c0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -27,26 +27,26 @@ jobs: runs-on: ubuntu-latest name: stable / coverage steps: - - uses: actions/checkout@v4 - with: - submodules: true - - name: Install stable - uses: dtolnay/rust-toolchain@stable - with: - components: llvm-tools-preview - - name: cargo install cargo-llvm-cov - uses: taiki-e/install-action@cargo-llvm-cov - - name: cargo generate-lockfile - if: hashFiles('Cargo.lock') == '' - run: cargo generate-lockfile - - name: cargo llvm-cov - # FIXME: Include e2e tests in coverage. - run: cargo llvm-cov --locked --features std --lcov --output-path lcov.info - - name: Record Rust version - run: echo "RUST=$(rustc --version)" >> "$GITHUB_ENV" - - name: Upload to codecov.io - uses: codecov/codecov-action@v4 - with: - fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }} - env_vars: OS,RUST + - uses: actions/checkout@v4 + with: + submodules: true + - name: Install stable + uses: dtolnay/rust-toolchain@stable + with: + components: llvm-tools-preview + - name: cargo install cargo-llvm-cov + uses: taiki-e/install-action@cargo-llvm-cov + - name: cargo generate-lockfile + if: hashFiles('Cargo.lock') == '' + run: cargo generate-lockfile + - name: cargo llvm-cov + # FIXME: Include e2e tests in coverage. + run: cargo llvm-cov --locked --features std --lcov --output-path lcov.info + - name: Record Rust version + run: echo "RUST=$(rustc --version)" >> "$GITHUB_ENV" + - name: Upload to codecov.io + uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} + env_vars: OS,RUST