mirror of
https://github.com/crate-ci/typos.git
synced 2025-02-23 05:21:02 -05:00
parent
fb78b722e9
commit
7d208aa2d3
1 changed files with 23 additions and 1 deletions
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: none
|
contents: none
|
||||||
name: CI
|
name: CI
|
||||||
needs: [test, msrv, lockfile, docs, rustfmt, clippy]
|
needs: [test, wasm, msrv, lockfile, docs, rustfmt, clippy]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: "always()"
|
if: "always()"
|
||||||
steps:
|
steps:
|
||||||
|
@ -67,6 +67,28 @@ jobs:
|
||||||
- uses: taiki-e/install-action@cargo-hack
|
- uses: taiki-e/install-action@cargo-hack
|
||||||
- name: Default features
|
- name: Default features
|
||||||
run: cargo hack check --feature-powerset --locked --rust-version --ignore-private --workspace --all-targets
|
run: cargo hack check --feature-powerset --locked --rust-version --ignore-private --workspace --all-targets
|
||||||
|
wasm:
|
||||||
|
name: "Check wasm"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
build: [wasm, wasm-wasi]
|
||||||
|
include:
|
||||||
|
- build: wasm
|
||||||
|
target: wasm32-unknown-unknown
|
||||||
|
- build: wasm-wasi
|
||||||
|
target: wasm32-wasip1
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Install Rust
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
targets: ${{ matrix.target }}
|
||||||
|
- name: Default features
|
||||||
|
run: cargo check -p typos -p typos-dict
|
||||||
lockfile:
|
lockfile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Add table
Reference in a new issue