Skip to content

Commit aa0629a

Browse files
committed
Refactor the lint job
Signed-off-by: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
1 parent d65f78b commit aa0629a

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/lint_and_test.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,25 @@ jobs:
99
lint:
1010
runs-on: ubuntu-latest
1111
concurrency:
12-
group: ${{ github.workflow }}-${{ github.job }}
12+
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref_name }}-lint
1313
cancel-in-progress: true
1414
timeout-minutes: 20
15-
container:
16-
image: ghcr.io/thombashi/python-ci:3.10
1715

1816
steps:
1917
- uses: actions/checkout@v4
2018

21-
- name: Lint
22-
run: make check
19+
- uses: actions/setup-python@v5
20+
with:
21+
python-version: "3.13"
22+
cache: pip
23+
cache-dependency-path: |
24+
setup.py
25+
**/*requirements.txt
26+
tox.ini
27+
28+
- run: make setup-ci
29+
30+
- run: make check
2331

2432
unit-test:
2533
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)