build(deps): Bump pre-commit/action from 2.0.0 to 3.0.1 #10
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
# Run code style checks on each pull request. | |
name: Code style checks | |
on: [pull_request] | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Pixi Environment | |
uses: prefix-dev/[email protected] | |
with: | |
pixi-version: v0.25.0 | |
cache: true | |
# Only write the cache on push to main to avoid exceeding GitHub's 10GB cache limit. | |
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }} | |
- name: Set up Python | |
run: pixi global install python | |
- uses: pre-commit/[email protected] |