Skip to content

Commit a35399c

Browse files
committed
chore: Use astral-sh/ruff-action@v3 to run the Python linter
1 parent e476778 commit a35399c

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

.github/workflows/node-gyp.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
node-version: ["22"]
13-
os: [macos-13, macos-14, ubuntu-latest, windows-latest]
14-
python-version: ["3.8", "3.10", "3.12", "3.13"]
13+
os: [macos-13, macos-latest, ubuntu-latest, windows-latest]
14+
python-version: ["3.9", "3.11", "3.13"]
1515
runs-on: ${{ matrix.os }}
1616
steps:
1717
- name: Clone gyp-next

.github/workflows/nodejs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [macos-13, macos-latest, ubuntu-latest, windows-latest]
13-
python: ["3.8", "3.10", "3.12", "3.13"]
13+
python: ["3.9", "3.11", "3.13"]
1414

1515
runs-on: ${{ matrix.os }}
1616
steps:

.github/workflows/python_tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
max-parallel: 5
1616
matrix:
17-
os: [macos-13, macos-14, ubuntu-latest] # , windows-latest]
17+
os: [macos-13, macos-latest, ubuntu-latest] # , windows-latest]
1818
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1919
steps:
2020
- uses: actions/checkout@v4
@@ -30,7 +30,7 @@ jobs:
3030
pip install --editable ".[dev]"
3131
- run: ./gyp -V && ./gyp --version && gyp -V && gyp --version
3232
- name: Lint with ruff # See pyproject.toml for settings
33-
run: ruff check --output-format=github .
33+
uses: astral-sh/ruff-action@v3
3434
- name: Test with pytest # See pyproject.toml for settings
3535
run: pytest
3636
# - name: Run doctests with pytest

.github/workflows/release-please.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,8 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@v4
28-
- name: Set up Python
29-
uses: actions/setup-python@v5
30-
with:
31-
python-version: "3.12"
32-
- name: Install pypa/build
33-
run: >-
34-
python3 -m pip install build --user
3528
- name: Build a binary wheel and a source tarball
36-
run: python3 -m build
29+
run: pipx run build
3730
- name: Store the distribution packages
3831
uses: actions/upload-artifact@v4
3932
with:

0 commit comments

Comments
 (0)