|
9 | 9 | runs-on: ubuntu-latest |
10 | 10 | timeout-minutes: 5 |
11 | 11 | steps: |
12 | | - - uses: actions/checkout@v4 |
| 12 | + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
13 | 13 | - name: Set up Python ${{ matrix.python-version }} |
14 | | - uses: actions/setup-python@v5 |
| 14 | + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
15 | 15 | with: |
16 | | - python-version: "3.10" |
| 16 | + python-version: "3.14" |
17 | 17 | - name: Lint code |
18 | 18 | run: | |
19 | 19 | make setup |
|
25 | 25 | runs-on: ubuntu-latest |
26 | 26 | timeout-minutes: 5 |
27 | 27 | steps: |
28 | | - - uses: actions/checkout@v4 |
| 28 | + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
29 | 29 | - name: Set up Python 3.10 |
30 | | - uses: actions/setup-python@v5 |
| 30 | + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
31 | 31 | with: |
32 | 32 | python-version: "3.10" |
33 | 33 | - name: Run all tests + code coverage |
|
52 | 52 | os: [macos-latest, windows-latest, ubuntu-latest] |
53 | 53 | python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] |
54 | 54 | steps: |
55 | | - - uses: actions/checkout@v4 |
| 55 | + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
56 | 56 | - name: Set up Python ${{ matrix.python-version }} |
57 | | - uses: actions/setup-python@v5 |
| 57 | + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
58 | 58 | with: |
59 | 59 | python-version: ${{ matrix.python-version }} |
60 | 60 | - name: Run tests |
|
72 | 72 | id-token: write # IMPORTANT: mandatory for trusted publishing |
73 | 73 | timeout-minutes: 10 |
74 | 74 | steps: |
75 | | - - uses: actions/checkout@v4 |
| 75 | + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
76 | 76 | - name: Set up Python ${{ matrix.python-version }} |
77 | | - uses: actions/setup-python@v5 |
| 77 | + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
78 | 78 | with: |
79 | 79 | python-version: 3.11 |
80 | 80 | - name: Install pypa/build |
|
89 | 89 | github.event_name == 'push' && |
90 | 90 | startsWith(github.ref, 'refs/tags') && |
91 | 91 | github.actor == github.repository_owner |
92 | | - uses: actions/upload-artifact@v4 |
| 92 | + uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 |
93 | 93 | with: |
94 | 94 | name: python-package-distributions |
95 | 95 | path: dist/ |
|
98 | 98 | github.event_name == 'push' && |
99 | 99 | startsWith(github.ref, 'refs/tags') && |
100 | 100 | github.actor == github.repository_owner |
101 | | - uses: pypa/gh-action-pypi-publish@release/v1 |
| 101 | + uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0 |
0 commit comments