Bump softprops/action-gh-release from 2.1.0 to 2.2.0 #108
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: Run pre-commit | |
on: | |
pull_request: | |
jobs: | |
pre-commit: | |
name: Pre-commit | |
strategy: | |
matrix: | |
python-version: [3.11] | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⤵️ Check out code from GitHub | |
uses: actions/checkout@v4 | |
- name: 🐍 Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: ⚙️ Install Poetry | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.5.1 | |
- name: ⚙️ Install dependencies | |
run: poetry install | |
- name: 🚀 Run pre-commit on all files | |
run: | | |
poetry run pre-commit run --all-files --show-diff-on-failure --color=always |