Prepare for 2024.5.0 release #3124
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: Python style check | |
on: [pull_request] | |
# When this workflow is queued, automatically cancel any previous running | |
# or pending jobs from the same branch | |
concurrency: | |
group: style-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
pre-commit: | |
name: Run pre-commit hooks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.72 | |
components: clippy | |
default: true | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
components: rustfmt | |
- uses: pre-commit/[email protected] |