Skip to content

Commit 686c218

Browse files
committed
Update the workflow
1 parent 4a208b1 commit 686c218

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,21 @@ name: Python package
22

33
on: [ push ]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
build:
710

811
runs-on: ubuntu-latest
912
strategy:
1013
matrix:
11-
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
14+
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]
1215

1316
steps:
14-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1518
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v5
1720
with:
1821
python-version: ${{ matrix.python-version }}
1922
- name: Install dependencies

0 commit comments

Comments
 (0)