mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-21 08:30:57 -05:00
chore: Update from '_rust/main'
This commit is contained in:
commit
66b1b2c5d3
3 changed files with 24 additions and 3 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -57,7 +57,7 @@ jobs:
|
|||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: 1.70.0 # MSRV
|
||||
toolchain: "1.70" # MSRV
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Default features
|
||||
run: cargo check --workspace --all-targets
|
||||
|
@ -119,7 +119,7 @@ jobs:
|
|||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: 1.70.0 # MSRV
|
||||
toolchain: "1.70" # MSRV
|
||||
components: clippy
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Install SARIF tools
|
||||
|
|
21
.github/workflows/spelling.yml
vendored
Normal file
21
.github/workflows/spelling.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Spelling
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
CARGO_TERM_COLOR: always
|
||||
CLICOLOR: 1
|
||||
|
||||
jobs:
|
||||
spelling:
|
||||
name: Spell Check with Typos
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Actions Repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Spell Check Repo
|
||||
uses: crate-ci/typos@master
|
|
@ -11,7 +11,7 @@ Finds and corrects spelling mistakes among source code:
|
|||
[![codecov](https://codecov.io/gh/crate-ci/typos/branch/master/graph/badge.svg)](https://codecov.io/gh/crate-ci/typos)
|
||||
[![Documentation](https://img.shields.io/badge/docs-master-blue.svg)][Documentation]
|
||||
![License](https://img.shields.io/crates/l/typos.svg)
|
||||
[![Crates Status](https://img.shields.io/crates/v/typos.svg)](https://crates.io/crates/typos)
|
||||
[![Crates Status](https://img.shields.io/crates/v/typos.svg)][Crates.io]
|
||||
|
||||
Dual-licensed under [MIT](LICENSE-MIT) or [Apache 2.0](LICENSE-APACHE)
|
||||
|
||||
|
|
Loading…
Reference in a new issue