Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RobFirth committed Feb 15, 2024
1 parent 5356f24 commit 9e9c77a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down Expand Up @@ -64,8 +64,7 @@ jobs:
- name: Lint code
run: |
poetry run pylint --errors-only hooks
poetry run flake8 hooks
poetry run isort --check hooks
poetry run black --check --diff .
poetry run ruff check hooks
poetry run mypy hooks
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-python@v4
with:
python-version: ${ env.PYTHON_VERSION }}
python-version: ${ env.PYTHON_VERSION }

- uses: abatilo/actions-poetry@v2
with:
Expand Down

0 comments on commit 9e9c77a

Please sign in to comment.