Skip to content

Commit

Permalink
tweak actions
Browse files Browse the repository at this point in the history
  • Loading branch information
David Bonnes committed Sep 10, 2024
1 parent 6f2f622 commit 0640644
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ jobs:
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4

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

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
pip install ruff # pip install -r requirements_dev.txt
- name: Check with ruff
run: ruff check --output-format=github .
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/check-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,17 @@ jobs:
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4

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

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_test.txt
pip install pytest pytest-asyncio pytest-sugar
- name: Test with pytest
env:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/check-type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,17 @@ jobs:
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4

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

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
pip install --upgrade voluptuous
- name: Check with mypy
run: mypy
Expand Down

0 comments on commit 0640644

Please sign in to comment.