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@v3
40
+ - uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
41
41
with :
42
42
name : dist
43
43
path : dist/
@@ -50,12 +50,12 @@ jobs:
50
50
PIP_DISABLE_PIP_VERSION_CHECK : 1
51
51
52
52
steps :
53
- - uses : actions/checkout@v3
53
+ - uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
54
54
with :
55
55
fetch-depth : 50
56
56
submodules : true
57
57
58
- - uses : actions/setup-python@v4
58
+ - uses : actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
59
59
with :
60
60
python-version : 3.x
61
61
64
64
python -m pip install --upgrade setuptools wheel pip
65
65
python setup.py sdist
66
66
67
- - uses : actions/upload-artifact@v3
67
+ - uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
68
68
with :
69
69
name : dist
70
70
path : dist/*.tar.*
@@ -76,16 +76,13 @@ jobs:
76
76
fail-fast : false
77
77
matrix :
78
78
os : [ubuntu-latest, macos-latest]
79
- cibw_python : ["cp37-*", " cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"]
79
+ cibw_python : ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"]
80
80
cibw_arch : ["x86_64", "aarch64", "universal2"]
81
81
exclude :
82
82
- os : ubuntu-latest
83
83
cibw_arch : universal2
84
84
- os : macos-latest
85
85
cibw_arch : aarch64
86
- - os : macos-latest
87
- cibw_python : " cp37-*"
88
- cibw_arch : universal2
89
86
90
87
defaults :
91
88
run :
@@ -95,14 +92,14 @@ jobs:
95
92
PIP_DISABLE_PIP_VERSION_CHECK : 1
96
93
97
94
steps :
98
- - uses : actions/checkout@v3
95
+ - uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
99
96
with :
100
97
fetch-depth : 50
101
98
submodules : true
102
99
103
100
- name : Set up QEMU
104
101
if : matrix.os == 'ubuntu-latest' && matrix.cibw_arch == 'aarch64'
105
- uses : docker/setup-qemu-action@v1
102
+ uses : docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
106
103
with :
107
104
platforms : arm64
108
105
@@ -111,14 +108,14 @@ jobs:
111
108
run : |
112
109
brew install gnu-sed libtool autoconf automake
113
110
114
-
111
+ - uses : pypa/cibuildwheel@fff9ec32ed25a9c576750c91e06b410ed0c15db7 # v2.16.2
115
112
env :
116
113
CIBW_BUILD_VERBOSITY : 1
117
114
CIBW_BUILD : ${{ matrix.cibw_python }}
118
115
CIBW_ARCHS : ${{ matrix.cibw_arch }}
119
116
CIBW_TEST_SKIP : " *universal2:arm64"
120
117
121
- - uses : actions/upload-artifact@v3
118
+ - uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
122
119
with :
123
120
name : dist
124
121
path : wheelhouse/*.whl
@@ -128,12 +125,12 @@ jobs:
128
125
runs-on : ubuntu-latest
129
126
130
127
steps :
131
- - uses : actions/checkout@v3
128
+ - uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
132
129
with :
133
130
fetch-depth : 5
134
131
submodules : false
135
132
136
- - uses : actions/download-artifact@v3
133
+ - uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
137
134
with :
138
135
name : dist
139
136
path : dist/
@@ -142,11 +139,11 @@ jobs:
142
139
id : relver
143
140
run : |
144
141
set -e
145
- echo ::set-output name= version:: $(cat dist/VERSION)
142
+ echo version= $(cat dist/VERSION) >> $GITHUB_OUTPUT
146
143
rm dist/VERSION
147
144
148
145
- name : Merge and tag the PR
149
- uses : edgedb/action-release/merge@master
146
+ uses : edgedb/action-release/merge@bae6b9134e872166b43d218dd79397c851c41c9a
150
147
with :
151
148
github_token : ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
152
149
ssh_key : ${{ secrets.RELEASE_BOT_SSH_KEY }}
@@ -169,7 +166,7 @@ jobs:
169
166
ls -al dist/
170
167
171
168
- name : Upload to PyPI
172
- uses : pypa/gh-action-pypi-publish@master
169
+ uses : pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
173
170
with :
174
171
user : __token__
175
172
password : ${{ secrets.PYPI_TOKEN }}
0 commit comments