Bump GitHub Actions #6
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 the linting suite for the pyroma package | |
# Based on https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Lint package | |
on: [pull_request, push] | |
env: | |
FORCE_COLOR: 1 | |
jobs: | |
build: | |
name: Run pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Run pre-commit hooks | |
uses: pre-commit/[email protected] |