Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Disable autocrlf
run: git config --global core.autocrlf false
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.96.0
components: rustfmt
- run: cargo fmt --all -- --check

Expand All @@ -25,8 +28,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Disable autocrlf
run: git config --global core.autocrlf false
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.96.0
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Run clippy with warnings denied
Expand All @@ -37,7 +43,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Disable autocrlf
run: git config --global core.autocrlf false
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.96.0
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace --all-targets --all-features

Expand All @@ -47,6 +57,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.96.0
- uses: Swatinem/rust-cache@v2
- name: Install cargo-audit
run: cargo install cargo-audit --locked
Expand All @@ -59,6 +71,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.96.0
- uses: Swatinem/rust-cache@v2
- name: Install cargo-deny
run: cargo install cargo-deny --locked
Expand Down
Loading