Skip to content

Commit

Permalink
Attempt to fix workflow 2
Browse files Browse the repository at this point in the history
  • Loading branch information
cloneofghosts authored Nov 19, 2024
1 parent 62b9b14 commit f60bb90
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,25 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/checkout@v4.1.1"
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4.2.2

- name: "Set up Python"
uses: actions/[email protected]
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: "3.12.4"
cache: "pip"

- name: "Install requirements"
run: |
python -m pip install --upgrade pip
pip install ruff
- name: "Format"
run: python3 -m ruff format .
run: ruff format .

- name: "Check"
run: python3 -m ruff check --output-format=github . --fix --exit-zero
run: ruff check --output-format=github . --fix

- name: "Auto Commit"
uses: stefanzweifel/[email protected]
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
with:
commit_message: 'style fixes by ruff'
commit_message: 'style fixes by ruff'

0 comments on commit f60bb90

Please sign in to comment.