# Every change: format, clippy and rustdoc with zero warnings, every test. # The two GnuCash tests need Docker and stay ignored here. name: check on: push: pull_request: concurrency: group: check-${{ github.ref }} cancel-in-progress: true jobs: check: runs-on: ubuntu-24.04 env: CARGO_INCREMENTAL: "0" CARGO_PROFILE_DEV_DEBUG: line-tables-only CARGO_PROFILE_TEST_DEBUG: line-tables-only steps: - uses: actions/checkout@v4 - name: Room for the build (the image ships toolchains we never use) run: | sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc \ /opt/hostedtoolcache/CodeQL /usr/local/.ghcup df -h / | tail -1 - run: cargo fmt --all --check - run: cargo clippy --workspace --all-targets -- -D warnings - run: cargo doc --workspace --no-deps --quiet env: RUSTDOCFLAGS: -D warnings - run: cargo test --workspace - name: What the build used if: always() run: df -h / | tail -1