Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into 348-copy-git
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Dec 8, 2024
2 parents 50203a1 + 196e9d2 commit 78f2711
Show file tree
Hide file tree
Showing 36 changed files with 769 additions and 764 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
run: |
cargo --version
rustc --version
# TODO: Maybe also check clippy and rustfmt here.
- name: Build
run: cargo build --all-targets
- uses: taiki-e/install-action@v2
Expand All @@ -71,8 +70,7 @@ jobs:
- name: Check rustfmt
run: cargo fmt --all --check
- name: Check clippy
# TODO: -- -D warnings
run: cargo clippy --all-targets --all-features
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Check typos
uses: crate-ci/typos@master
- name: Build release binary
Expand All @@ -89,7 +87,7 @@ jobs:
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
version: [stable, nightly, "1.74"]
version: [stable, nightly, "1.78"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -115,8 +113,10 @@ jobs:
- name: Check rustfmt
run: cargo fmt --all --check
- name: Check clippy
# TODO: Deny warnings
run: cargo clippy --all-targets --all-features
if: matrix.version == 'stable'
# Clippy checks can vary between versions in a way that makes it a bit
# fiddly to satisfy them all, so only insist that they pass on stable.
run: cargo clippy --all-targets --all-features -- -D warnings
- run: cargo update
- name: Test after cargo update
run: cargo test --workspace
Expand Down
Loading

0 comments on commit 78f2711

Please sign in to comment.