17
17
# > OS
18
18
- name : Free disk space (Ubuntu)
19
19
if : inputs.free-disk-space == 'true' && runner.os == 'Linux'
20
- # https://github.com/jlumbroso/free-disk-space/releases/tag/v1.3.1
20
+ # https://github.com/jlumbroso/free-disk-space
21
21
uses : jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
22
22
with :
23
23
tool-cache : true
41
41
run : |
42
42
sudo apt-get update
43
43
sudo apt-get install -y curl clang git libssl-dev make pkg-config
44
+ sudo apt-get install -y python3-dev libpython3-dev
44
45
45
46
- name : Install mold
46
47
# https://github.com/rui314/setup-mold
@@ -106,7 +107,7 @@ runs:
106
107
107
108
- name : Cached sccache
108
109
id : cached-sccache
109
- # https://github.com/actions/cache/releases/tag/v4.2.3
110
+ # https://github.com/actions/cache
110
111
uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
111
112
with :
112
113
path : ${{ env.SCCACHE_DIR }}
@@ -117,13 +118,13 @@ runs:
117
118
sccache-${{ runner.os }}-
118
119
119
120
- name : Run sccache
120
- # https://github.com/Mozilla-Actions/sccache-action/releases/tag/v0.0.8
121
+ # https://github.com/Mozilla-Actions/sccache-action
121
122
uses : mozilla-actions/sccache-action@65101d47ea8028ed0c98a1cdea8dd9182e9b5133 # v0.0.8
122
123
123
124
# > --------------------------------------------------
124
125
# > Python
125
126
- name : Set up Python environment
126
- # https://github.com/actions/setup-python/releases/tag/v5.4.0
127
+ # https://github.com/actions/setup-python
127
128
uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
128
129
with :
129
130
python-version : ${{ inputs.python-version }}
@@ -135,7 +136,7 @@ runs:
135
136
136
137
- name : Cache Python site-packages
137
138
id : cached-site-packages
138
- # https://github.com/actions/cache/releases/tag/v4.2.3
139
+ # https://github.com/actions/cache
139
140
uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
140
141
with :
141
142
path : ~/.local/lib/python${{ inputs.python-version }}/site-packages
@@ -155,7 +156,8 @@ runs:
155
156
echo "UV_VERSION=$(cat uv-version)" >> $GITHUB_ENV
156
157
157
158
- name : Install uv
158
- uses : astral-sh/setup-uv@v5
159
+ # https://github.com/astral-sh/setup-uv
160
+ uses : astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # 5.4.1
159
161
with :
160
162
version : ${{ env.UV_VERSION }}
161
163
@@ -166,7 +168,7 @@ runs:
166
168
167
169
- name : Cached uv
168
170
id : cached-uv
169
- # https://github.com/actions/cache/releases/tag/v4.2.3
171
+ # https://github.com/actions/cache
170
172
uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
171
173
with :
172
174
path : ${{ env.UV_CACHE_DIR }}
@@ -176,7 +178,7 @@ runs:
176
178
# > pre-commit
177
179
- name : Cached pre-commit
178
180
id : cached-pre-commit
179
- # https://github.com/actions/cache/releases/tag/v4.2.3
181
+ # https://github.com/actions/cache
180
182
uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
181
183
with :
182
184
path : ~/.cache/pre-commit
0 commit comments