14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- name : Validate release PR
17
- uses : edgedb/action-release/validate-pr@master
17
+ uses : edgedb/action-release/validate-pr@bae6b9134e872166b43d218dd79397c851c41c9a
18
18
id : checkver
19
19
with :
20
20
require_team : Release Managers
37
37
mkdir -p dist/
38
38
echo "${VERSION}" > dist/VERSION
39
39
40
- - uses : actions/upload-artifact@v2
40
+ - uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
41
41
with :
42
42
name : dist
43
43
path : dist/
@@ -47,20 +47,20 @@ jobs:
47
47
runs-on : ubuntu-latest
48
48
49
49
steps :
50
- - uses : actions/checkout@v2
50
+ - uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
51
51
with :
52
52
fetch-depth : 50
53
53
submodules : true
54
54
55
55
- name : Set up Python
56
- uses : actions/setup-python@v2
56
+ uses : actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
57
57
58
58
- name : Build source distribution
59
59
run : |
60
60
python -m pip install -U setuptools wheel pip
61
61
python setup.py sdist
62
62
63
- - uses : actions/upload-artifact@v2
63
+ - uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
64
64
with :
65
65
name : dist
66
66
path : dist/*.tar.*
@@ -99,18 +99,18 @@ jobs:
99
99
PIP_DISABLE_PIP_VERSION_CHECK : 1
100
100
101
101
steps :
102
- - uses : actions/checkout@v2
102
+ - uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
103
103
with :
104
104
fetch-depth : 50
105
105
submodules : true
106
106
107
107
- name : Set up QEMU
108
108
if : matrix.os == 'ubuntu-latest' && matrix.cibw_arch == 'aarch64'
109
- uses : docker/setup-qemu-action@v1
109
+ uses : docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
110
110
with :
111
111
platforms : arm64
112
112
113
- - uses : pypa/cibuildwheel@v2.9.0
113
+ - uses : pypa/cibuildwheel@fff9ec32ed25a9c576750c91e06b410ed0c15db7 # v2.16.2
114
114
env :
115
115
CIBW_BUILD_VERBOSITY : 1
116
116
CIBW_BUILD : ${{ matrix.cibw_python }}
@@ -120,7 +120,7 @@ jobs:
120
120
CIBW_TEST_COMMAND_WINDOWS : " python {project}\\ tests\\ __init__.py"
121
121
CIBW_TEST_SKIP : " *universal2:arm64"
122
122
123
- - uses : actions/upload-artifact@v2
123
+ - uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
124
124
with :
125
125
name : dist
126
126
path : wheelhouse/*.whl
@@ -130,12 +130,12 @@ jobs:
130
130
runs-on : ubuntu-latest
131
131
132
132
steps :
133
- - uses : actions/checkout@v2
133
+ - uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
134
134
with :
135
135
fetch-depth : 5
136
136
submodules : false
137
137
138
- - uses : actions/download-artifact@v2
138
+ - uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
139
139
with :
140
140
name : dist
141
141
path : dist/
@@ -148,7 +148,7 @@ jobs:
148
148
rm dist/VERSION
149
149
150
150
- name : Merge and tag the PR
151
- uses : edgedb/action-release/merge@master
151
+ uses : edgedb/action-release/merge@bae6b9134e872166b43d218dd79397c851c41c9a
152
152
with :
153
153
github_token : ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
154
154
ssh_key : ${{ secrets.RELEASE_BOT_SSH_KEY }}
@@ -157,7 +157,7 @@ jobs:
157
157
tag_name : v${{ steps.relver.outputs.version }}
158
158
159
159
- name : Publish Github Release
160
- uses : elprans/gh-action-create-release@master
160
+ uses : elprans/gh-action-create-release@5f9abb8f0677196a76ea77e64341fa8ca31dad4f
161
161
env :
162
162
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
163
163
with :
@@ -171,7 +171,7 @@ jobs:
171
171
ls -al dist/
172
172
173
173
- name : Upload to PyPI
174
- uses : pypa/gh-action-pypi-publish@master
174
+ uses : pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
175
175
with :
176
176
user : __token__
177
177
password : ${{ secrets.PYPI_TOKEN }}
0 commit comments