diff --git a/.github/workflows/pr_pre-commit.yaml b/.github/workflows/pr_pre-commit.yaml index 4e5b9914..b0b17331 100644 --- a/.github/workflows/pr_pre-commit.yaml +++ b/.github/workflows/pr_pre-commit.yaml @@ -26,10 +26,11 @@ jobs: persist-credentials: false submodules: recursive fetch-depth: 0 - - uses: stackabletech/actions/run-pre-commit@4bfd3b65f22af597fe784599c077dc34bf5894a7 # v0.8.0 + - uses: stackabletech/actions/run-pre-commit@feat/run-pre-commit-pin-rustup-version # TODO: Use released version with: python-version: ${{ env.PYTHON_VERSION }} rust: ${{ env.RUST_TOOLCHAIN_VERSION }} + rustup-version: "1.28.1" hadolint: ${{ env.HADOLINT_VERSION }} nix: ${{ env.NIX_PKG_MANAGER_VERSION }} nix-github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/rust/operator-binary/src/main.rs b/rust/operator-binary/src/main.rs index cbb42e79..156d54b8 100644 --- a/rust/operator-binary/src/main.rs +++ b/rust/operator-binary/src/main.rs @@ -43,6 +43,9 @@ mod built_info { include!(concat!(env!("OUT_DIR"), "/built.rs")); } +// TODO: Remove me again +// Trigger pre-commit hooks + #[derive(Parser)] #[clap(about, author)] struct Opts {