Skip to content

Commit 62a4eda

Browse files
committed
Update GitHub Actions
1 parent eeb138a commit 62a4eda

2 files changed

Lines changed: 15 additions & 14 deletions

File tree

.github/workflows/lint.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ name: Lint
22

33
on: [push, pull_request, workflow_dispatch]
44

5+
permissions: {}
6+
57
env:
68
FORCE_COLOR: 1
7-
PIP_DISABLE_PIP_VERSION_CHECK: 1
8-
9-
permissions:
10-
contents: read
9+
RUFF_OUTPUT_FORMAT: github
1110

1211
jobs:
1312
lint:
1413
runs-on: ubuntu-latest
1514

1615
steps:
17-
- uses: actions/checkout@v4
18-
- uses: actions/setup-python@v5
16+
- uses: actions/checkout@v5
17+
with:
18+
persist-credentials: false
19+
- uses: actions/setup-python@v6
1920
with:
2021
python-version: "3.x"
21-
cache: pip
22-
- uses: pre-commit/action@v3.0.1
22+
- uses: j178/prek-action@v1

.github/workflows/test.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,29 @@ name: Test
22

33
on: [push, pull_request, workflow_dispatch]
44

5-
permissions:
6-
contents: read
5+
permissions: {}
76

87
env:
98
FORCE_COLOR: 1
9+
PIP_DISABLE_PIP_VERSION_CHECK: 1
1010

1111
jobs:
1212
test:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13"]
17+
python-version: ["pypy3.11", "3.10", "3.11", "3.12", "3.13", "3.14"]
1818
os: [ubuntu-latest]
1919

2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2222
with:
2323
fetch-depth: 0
24+
persist-credentials: false
2425

2526
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@v6
2728
with:
2829
python-version: ${{ matrix.python-version }}
2930
allow-prereleases: true
@@ -33,7 +34,7 @@ jobs:
3334
requirements.txt
3435
3536
- name: Set up node
36-
uses: actions/setup-node@v4
37+
uses: actions/setup-node@v6
3738
with:
3839
node-version: 16
3940
cache: 'npm'

0 commit comments

Comments
 (0)