Skip to content

Commit

Permalink
test3
Browse files Browse the repository at this point in the history
  • Loading branch information
ripytide committed Oct 20, 2024
1 parent a666068 commit dc39712
Showing 1 changed file with 5 additions and 43 deletions.
48 changes: 5 additions & 43 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,14 @@
name: ci

on:
pull_request:
push:
branches:
- main
on: push
name: Clippy check

# Make sure CI fails on all warnings, including Clippy lints
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
CLICOLOR: 1
RUSTFLAGS: "-Dwarnings"
RUSTDOCFLAGS: -Dwarnings

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo test --all-targets --all-features
clippy:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: clippy
- name: Run Clippy
run: cargo clippy --all-targets --all-features
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
run: cargo doc --all-features --no-deps --document-private-items
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master
committed:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/committed@master

0 comments on commit dc39712

Please sign in to comment.