Skip to content

Appease clippy 1.83 #329

Appease clippy 1.83

Appease clippy 1.83 #329

Workflow file for this run

name: Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test and lint
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Run cargo-deny
uses: EmbarkStudios/cargo-deny-action@v1
- run: cargo clippy -- -W clippy::pedantic
- run: cargo fmt --all --check
- run: cargo test --all-targets
- run: WASTEBIN_BASE_URL="http://127.0.0.1:8080/wastebin" cargo test # port is not relevant
spaces-check:
name: Spaces Check
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Spaces check
run: git diff-tree --check $(git hash-object -t tree /dev/null) HEAD