ci: Run tests with both no features and all features #851
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: pre-commit | |
| on: | |
| pull_request: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_TOOLCHAIN_VERSION: "nightly-2025-01-15" | |
| permissions: {} | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| persist-credentials: false | |
| fetch-depth: 0 | |
| - uses: stackabletech/actions/run-pre-commit@4bfd3b65f22af597fe784599c077dc34bf5894a7 # v0.8.0 | |
| with: | |
| rust: ${{ env.RUST_TOOLCHAIN_VERSION }} | |
| # rust-src is required for trybuild stderr output comparison to work | |
| # for our cases. | |
| # See: https://github.com/dtolnay/trybuild/issues/236#issuecomment-1620950759 | |
| rust-components: rustfmt,clippy,rust-src |