44 push :
55 pull_request :
66
7+ permissions : {}
8+
79jobs :
810 checks :
911 runs-on : ubuntu-latest
1012 steps :
1113 - name : Checkout working copy
12- uses : actions/checkout@v4
14+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # 6.0.1
1315 with :
1416 submodules : true
1517 fetch-depth : 0
1618 persist-credentials : false
1719 - name : ruff check
18- uses : chartboost /ruff-action@v1
20+ uses : astral-sh /ruff-action@57714a7c8a2e59f32539362ba31877a1957dded1 # 3.5.1
1921 - name : ruff format
2022 if : always()
21- uses : chartboost /ruff-action@v1
23+ uses : astral-sh /ruff-action@57714a7c8a2e59f32539362ba31877a1957dded1 # 3.5.1
2224 with :
23- args : format --diff
25+ args : format --check -- diff
2426 - name : Set up Python
2527 id : setup_python
2628 if : always()
27- uses : actions/setup-python@v5
29+ uses : actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # 6.1.0
2830 with :
2931 python-version : " 3.x"
3032 - name : Install mypy
@@ -44,12 +46,12 @@ jobs:
4446
4547 steps :
4648 - name : Checkout working copy
47- uses : actions/checkout@v4
49+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # 6.0.1
4850 with :
4951 submodules : true
5052 persist-credentials : false
5153 - name : Set up Python
52- uses : actions/setup-python@v5
54+ uses : actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # 6.1.0
5355 with :
5456 python-version : " 3.x"
5557 - name : Install dependency
@@ -60,14 +62,14 @@ jobs:
6062 run : |
6163 python -mbuild
6264 - name : Upload sdist
63- uses : actions/upload-artifact@v4
65+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # 6.0.0
6466 with :
6567 name : sdist
6668 path : dist/*.tar.gz
6769 retention-days : 1
6870
6971 - name : Upload wheel
70- uses : actions/upload-artifact@v4
72+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # 6.0.0
7173 with :
7274 name : wheel
7375 path : dist/*.whl
@@ -102,13 +104,13 @@ jobs:
102104 opts : " --experimental-options --engine.CompileOnly='~tregex re'"
103105 steps :
104106 - name : Checkout working copy
105- uses : actions/checkout@v4
107+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # 6.0.1
106108 with :
107109 submodules : true
108110 fetch-depth : 0
109111 persist-credentials : false
110112 - name : Set up Python ${{ matrix.python-version }}
111- uses : actions/setup-python@v5
113+ uses : actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # 6.1.0
112114 with :
113115 python-version : ${{ matrix.python-version }}
114116 allow-prereleases : true
@@ -132,7 +134,7 @@ jobs:
132134 - run : ' python -mpip install --only-binary :all: google-re2 || true'
133135 - name : download ${{ matrix.source }} artifact
134136 if : matrix.artifact
135- uses : actions/download-artifact@v4
137+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # 7.0.0
136138 with :
137139 name : ${{ matrix.source }}
138140 path : dist/
0 commit comments