build(deps): bump the patch-versions group with 4 updates (#375) #1114
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 | |
| concurrency: | |
| group: "${{ github.workflow }}-${{ github.ref }}" | |
| cancel-in-progress: "${{ github.ref != 'refs/heads/main' }}" | |
| on: | |
| workflow_dispatch: | |
| merge_group: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| env: | |
| CACHE_TIMEOUT_MINUTES: 5 | |
| SCCACHE_GHA_ENABLED: "true" | |
| RUSTC_WRAPPER: sccache | |
| CC: sccache clang | |
| CXX: sccache clang++ | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: stable | |
| override: false | |
| - name: Setup sccache | |
| uses: mozilla-actions/[email protected] | |
| timeout-minutes: "${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}" | |
| continue-on-error: true | |
| - uses: actions/checkout@v6 | |
| - name: Apt Dependencies | |
| uses: nick-fields/retry@v3 | |
| with: | |
| timeout_minutes: 5 | |
| max_attempts: 3 | |
| command: | | |
| sudo apt-get install -y libclang-dev # required dep for cargo-spellcheck | |
| - run: make install-lint-tools-ci | |
| env: | |
| RUSTFLAGS: "-Cstrip=symbols" | |
| - run: make lint-all |