Skip to content

Commit

Permalink
Make worklflow pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
CM000n committed Dec 27, 2022
1 parent e4b9f4a commit 0a1adf7
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/run-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,18 @@ jobs:
python-version: [3.9]
runs-on: ubuntu-latest
steps:
- name: Check out the repository
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
- name: ⚙️ Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.3.1

- name: Install dependencies
- name: ⚙️ Install dependencies
run: poetry install

- name: Run pre-commit on all files
- name: 🚀 Run pre-commit on all files
run: |
poetry run pre-commit run --all-files --show-diff-on-failure --color=always

0 comments on commit 0a1adf7

Please sign in to comment.