Repository navigation
Merge pull request #104 from frontal-labs/fix/ci-deps-and-supply-chain #52
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: Lint | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - '.github/workflows/lint.yml' | |
| - 'MODULE.bazel' | |
| - '.bazelversion' | |
| - '.bazelrc' | |
| - 'bazel/**' | |
| - 'third_party/**' | |
| - 'tools/**' | |
| - 'scripts/**' | |
| - 'sdks/**' | |
| - 'biome.json' | |
| - 'ultracite.json' | |
| - 'bunfig.toml' | |
| - 'package.json' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - '.github/workflows/lint.yml' | |
| - 'MODULE.bazel' | |
| - '.bazelversion' | |
| - '.bazelrc' | |
| - 'bazel/**' | |
| - 'third_party/**' | |
| - 'tools/**' | |
| - 'scripts/**' | |
| - 'sdks/**' | |
| - 'biome.json' | |
| - 'ultracite.json' | |
| - 'bunfig.toml' | |
| - 'package.json' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| pre-commit: | |
| name: pre-commit --all-files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Bazelisk | |
| uses: bazel-contrib/setup-bazel@0.14.0 | |
| with: | |
| bazelisk-cache: true | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Install pinned Rust toolchain | |
| run: rustup show | |
| - name: Install pre-commit | |
| run: pip install pre-commit | |
| - name: Run pre-commit | |
| run: pre-commit run --all-files |