File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,16 +33,16 @@ jobs:
3333 build-mode : none
3434 steps :
3535 - name : Checkout repository
36- uses : actions/checkout@v4
36+ uses : actions/checkout@v6
3737
3838 # Initializes the CodeQL tools for scanning.
3939 - name : Initialize CodeQL
40- uses : github/codeql-action/init@v3
40+ uses : github/codeql-action/init@v4
4141 with :
4242 languages : ${{ matrix.language }}
4343 build-mode : ${{ matrix.build-mode }}
4444
4545 - name : Perform CodeQL Analysis
46- uses : github/codeql-action/analyze@v3
46+ uses : github/codeql-action/analyze@v4
4747 with :
4848 category : " /language:${{matrix.language}}"
Original file line number Diff line number Diff line change 99
1010 test :
1111 name : Test
12+ permissions :
13+ contents : read
1214 strategy :
1315 # Keep running so we can see if other tests pass
1416 fail-fast : false
1820 - ' 3.11'
1921 - ' 3.12'
2022 os :
21- - ubuntu-22.04
23+ - ubuntu-latest
2224 - windows-latest
2325 include :
2426 - python-version : ' 3.10'
@@ -31,12 +33,12 @@ jobs:
3133 py=$(echo ${{ matrix.python-version }} | tr -d .)
3234 echo "py=$py" >> $GITHUB_OUTPUT
3335 shell : bash
34- - uses : actions/checkout@v4
35- - uses : actions/setup-python@v5
36+ - uses : actions/checkout@v6
37+ - uses : actions/setup-python@v6
3638 with :
3739 python-version : ${{ matrix.python-version }}
3840 - name : Download the latest OMERO.server
39- if : matrix.os == 'ubuntu-22.04 '
41+ if : matrix.os == 'ubuntu-latest '
4042 env :
4143 GH_TOKEN : ${{ github.token }}
4244 run : |
@@ -53,13 +55,15 @@ jobs:
5355 publish-pypi :
5456 name : Pypi
5557 if : startsWith(github.ref, 'refs/tags')
58+ permissions :
59+ contents : write
5660 needs :
5761 # Only publish if other jobs passed
5862 - test
5963 runs-on : ubuntu-latest
6064 steps :
61- - uses : actions/checkout@v4
62- - uses : actions/setup-python@v5
65+ - uses : actions/checkout@v6
66+ - uses : actions/setup-python@v6
6367 with :
6468 python-version : ' 3.10'
6569 - name : Build package
You can’t perform that action at this time.
0 commit comments