Skip to content

Commit

Permalink
Merge pull request #31 from collabora/toolchain
Browse files Browse the repository at this point in the history
chore: avoid dependabot updating the rust toolchain
  • Loading branch information
sjoerdsimons authored Oct 19, 2024
2 parents 9ab0886 + e3b2e67 commit b64a63f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.81
- uses: dtolnay/rust-toolchain@master # avoid the tack to prevent dependabot updates
with:
toolchain: "1.81"
- run: cargo test --all-targets --all-features
- run: cargo test --doc --all-features

Expand All @@ -21,19 +23,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.81
- uses: dtolnay/rust-toolchain@master # avoid the tack to prevent dependabot updates
with:
components: rustfmt
toolchain: "1.81"
components: rustfmt
- run: cargo fmt --all --check

clippy:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.81
- uses: dtolnay/rust-toolchain@master # avoid the tack to prevent dependabot updates
with:
components: clippy
toolchain: "1.81"
components: clippy
- run: cargo clippy --all-targets --all-features -- -D warnings

allgreen:
Expand Down

0 comments on commit b64a63f

Please sign in to comment.