mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 09:35:11 +02:00
chore: Update from _rust/main template
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
customManagers: [
|
||||
{
|
||||
customType: 'regex',
|
||||
fileMatch: [
|
||||
'^rust-toolchain\\.toml$',
|
||||
'Cargo.toml$',
|
||||
'clippy.toml$',
|
||||
'\\.clippy.toml$',
|
||||
'^\\.github/workflows/ci.yml$',
|
||||
'^\\.github/workflows/rust-next.yml$',
|
||||
managerFilePatterns: [
|
||||
'/^rust-toolchain\\.toml$/',
|
||||
'/Cargo.toml$/',
|
||||
'/clippy.toml$/',
|
||||
'/\\.clippy.toml$/',
|
||||
'/^\\.github/workflows/ci.yml$/',
|
||||
'/^\\.github/workflows/rust-next.yml$/',
|
||||
],
|
||||
matchStrings: [
|
||||
'STABLE.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
|
||||
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
- name: Build
|
||||
run: cargo test --workspace --no-run
|
||||
- name: Test
|
||||
run: cargo hack test --feature-powerset --workspace
|
||||
run: cargo hack test --each-feature --workspace
|
||||
msrv:
|
||||
name: "Check MSRV"
|
||||
runs-on: ubuntu-latest
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- uses: taiki-e/install-action@cargo-hack
|
||||
- name: Default features
|
||||
run: cargo hack check --feature-powerset --locked --rust-version --ignore-private --workspace --all-targets
|
||||
run: cargo hack check --each-feature --locked --rust-version --ignore-private --workspace --all-targets --keep-going
|
||||
wasm:
|
||||
name: "Check wasm"
|
||||
runs-on: ubuntu-latest
|
||||
@@ -115,7 +115,7 @@ jobs:
|
||||
- name: Check documentation
|
||||
env:
|
||||
RUSTDOCFLAGS: -D warnings
|
||||
run: cargo doc --workspace --all-features --no-deps --document-private-items
|
||||
run: cargo doc --workspace --all-features --no-deps --document-private-items --keep-going
|
||||
rustfmt:
|
||||
name: rustfmt
|
||||
runs-on: ubuntu-latest
|
||||
@@ -161,7 +161,7 @@ jobs:
|
||||
sarif_file: clippy-results.sarif
|
||||
wait-for-processing: true
|
||||
- name: Report status
|
||||
run: cargo clippy --workspace --all-features --all-targets -- -D warnings --allow deprecated
|
||||
run: cargo clippy --workspace --all-features --all-targets --keep-going -- -D warnings --allow deprecated
|
||||
coverage:
|
||||
name: Coverage
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
- name: Build
|
||||
run: cargo test --workspace --no-run
|
||||
- name: Test
|
||||
run: cargo hack test --feature-powerset --workspace
|
||||
run: cargo hack test --each-feature --workspace
|
||||
latest:
|
||||
name: "Check latest dependencies"
|
||||
runs-on: ubuntu-latest
|
||||
@@ -61,4 +61,4 @@ jobs:
|
||||
- name: Build
|
||||
run: cargo test --workspace --no-run
|
||||
- name: Test
|
||||
run: cargo hack test --feature-powerset --workspace
|
||||
run: cargo hack test --each-feature --workspace
|
||||
|
||||
Reference in New Issue
Block a user