Skip to content

Commit 409ad9a

Browse files
committed
feat (CI): updated actions versions, added a job "lint"
1 parent 5eac429 commit 409ad9a

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,28 @@ name: Test with PyTest
55

66
on:
77
push:
8-
branches: [ master ]
8+
branches: [ master, test_pipeline ]
99
pull_request:
1010
branches: [ master ]
1111

1212
jobs:
1313
build:
1414

15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
1818
python-version: ["3.9", "3.10", "3.11"]
1919

2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v5
2222

2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v4
24+
uses: actions/setup-python@v6
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

2828
- name: Set up JDK 21
29-
uses: actions/setup-java@v3
29+
uses: actions/setup-java@v5
3030
with:
3131
distribution: 'temurin'
3232
java-version: '21'
@@ -64,3 +64,14 @@ jobs:
6464
source venv/bin/activate
6565
bash tests/test_local.bash
6666
bash tests/test_remote.bash
67+
lint:
68+
runs-on: ubuntu-latest
69+
steps:
70+
- uses: actions/checkout@v5
71+
- uses: actions/setup-python@v6
72+
with:
73+
python-version: "3.15"
74+
- run: pip install ruff
75+
- run: |
76+
ruff check .
77+
ruff format --check .

0 commit comments

Comments
 (0)