2525 matrix :
2626 python-version : ["3.9", "3.10", "3.11", "3.12", "3.13"]
2727 steps :
28- - uses : actions/checkout@v4
29- - uses : actions/setup-python@v5
28+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
29+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3030 with :
3131 python-version : ${{ matrix.python-version }}
3232 cache : pip
4141 name : lint (ruff)
4242 runs-on : ubuntu-latest
4343 steps :
44- - uses : actions/checkout@v4
45- - uses : actions/setup-python@v5
44+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
45+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
4646 with :
4747 python-version : " 3.12"
4848 cache : pip
5959 name : typecheck (mypy --strict)
6060 runs-on : ubuntu-latest
6161 steps :
62- - uses : actions/checkout@v4
63- - uses : actions/setup-python@v5
62+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
63+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
6464 with :
6565 python-version : " 3.12"
6666 cache : pip
7575 name : security (pip-audit)
7676 runs-on : ubuntu-latest
7777 steps :
78- - uses : actions/checkout@v4
79- - uses : actions/setup-python@v5
78+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
79+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
8080 with :
8181 python-version : " 3.12"
8282 cache : pip
9292 runs-on : ubuntu-latest
9393 needs : [test, lint, typecheck]
9494 steps :
95- - uses : actions/checkout@v4
96- - uses : actions/setup-python@v5
95+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
96+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
9797 with :
9898 python-version : " 3.12"
9999 cache : pip
@@ -105,7 +105,7 @@ jobs:
105105 - name : Twine check
106106 run : twine check dist/*
107107 - name : Upload artifacts
108- uses : actions/upload-artifact@v4
108+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
109109 with :
110110 name : dist
111111 path : dist/
0 commit comments