Skip to content

ci: Update run-pre-commit action #60

ci: Update run-pre-commit action

ci: Update run-pre-commit action #60

Workflow file for this run

---
name: pre-commit
on:
pull_request:
env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN_VERSION: "1.80.1"
HADOLINT_VERSION: "v1.17.6"
NIX_VERSION: "2.25.2"
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 18
cache: yarn
- run: yarn install --frozen-lockfile
- uses: stackabletech/actions/run-pre-commit@e5be82f718f838b137928629cfc92b0baf978e63 # v0.3.0 TODO: Use tagged version
with:
rust: ${{ env.RUST_TOOLCHAIN_VERSION }}
hadolint: ${{ env.HADOLINT_VERSION }}
nix: ${{ env.NIX_VERSION }}
nix-github-token: ${{ secrets.GITHUB_TOKEN }}