Skip to content

Commit b33a8f1

Browse files
committed
Update linting and formatting workflows with new actions versions
1 parent e234c34 commit b33a8f1

2 files changed

Lines changed: 31 additions & 3 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Lint and Format Check
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
ruff:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- name: Set up Python
13+
uses: actions/setup-python@v5
14+
with:
15+
python-version: "3.13"
16+
17+
- name: Install dev dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install -r requirements-dev.txt
21+
22+
- name: Ruff format check
23+
run: |
24+
python -m ruff format --check src/ utest/
25+
26+
- name: Ruff lint
27+
run: |
28+
python -m invoke lint

.github/workflows/Select.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ jobs:
3030
selenium-version: 4.39.0
3131
browser: firefox
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v6
3434
- name: Configuration Description
3535
run: |
3636
echo "${{ matrix.config.description }} configuration"
3737
echo "Testing with RF v${{ matrix.config.rf-version }}, Selenium v${{ matrix.config.selenium-version}}, Python v${{ matrix.config.python-version }} under ${{ matrix.config.browser }}"
3838
- name: Set up Python ${{ matrix.config.python-version }}
39-
uses: actions/setup-python@v5
39+
uses: actions/setup-python@v6
4040
with:
4141
python-version: ${{ matrix.config.python-version }}
4242
- name: Setup ${{ matrix.config.browser }} browser
43-
uses: browser-actions/setup-chrome@v1
43+
uses: browser-actions/setup-chrome@v2
4444
with:
4545
chrome-version: latest
4646
install-dependencies: true

0 commit comments

Comments
 (0)