refactor(stackable-versioned): Simplify crate overrides #460
Workflow file for this run
This file contains 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: "1.82.0" | |
HADOLINT_VERSION: "v1.17.6" | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
with: | |
fetch-depth: 0 | |
- uses: stackabletech/actions/run-pre-commit@9bd13255f286e4b7a654617268abe1b2f37c3e0a # v0.3.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 |