Skip to content

Commit dcad6bc

Browse files
committed
CI: update/pin actions + fix zizmor warnings
1 parent 9728f73 commit dcad6bc

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,23 @@ name: test
22

33
on: [push, pull_request, workflow_dispatch]
44

5+
permissions: {}
6+
57
jobs:
68
test:
79
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
812
strategy:
913
fail-fast: false
1014
matrix:
1115
python-version: ['3.11', '3.12', '3.13', '3.14']
1216
steps:
13-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
with:
19+
persist-credentials: false
1420
- name: Set up Python ${{ matrix.python-version }}
15-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1622
with:
1723
python-version: ${{ matrix.python-version }}
1824
- name: Install dependencies
@@ -36,7 +42,9 @@ jobs:
3642
runs-on: ubuntu-latest
3743
if: (github.repository == 'msys2/msys2-web' && github.event_name == 'push' && github.ref == 'refs/heads/main')
3844
steps:
39-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
46+
with:
47+
persist-credentials: false
4048
- name: Log in
4149
run: |
4250
echo "$TOKEN" | docker login ghcr.io --username "$USERNAME" --password-stdin

0 commit comments

Comments
 (0)