Skip to content

Commit 391d031

Browse files
committed
Bump versions of CI actions
1 parent cef72e9 commit 391d031

File tree

2 files changed

+18
-20
lines changed

2 files changed

+18
-20
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,32 @@ jobs:
3737
mkdir -p dist/
3838
echo "${VERSION}" > dist/VERSION
3939
40-
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
40+
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
4141
with:
42-
name: dist
42+
name: dist-version
4343
path: dist/
4444

4545
build-sdist:
4646
needs: validate-release-request
4747
runs-on: ubuntu-latest
4848

4949
steps:
50-
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
50+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
5151
with:
5252
fetch-depth: 50
5353
submodules: true
5454

5555
- name: Set up Python
56-
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
56+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
5757

5858
- name: Build source distribution
5959
run: |
6060
python -m pip install -U setuptools wheel pip
6161
python setup.py sdist
6262
63-
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
63+
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
6464
with:
65-
name: dist
65+
name: dist-sdist
6666
path: dist/*.tar.*
6767

6868
build-wheels:
@@ -84,9 +84,6 @@ jobs:
8484
cibw_arch: universal2
8585
- os: macos-latest
8686
cibw_arch: aarch64
87-
- os: macos-latest
88-
cibw_python: "cp37-*"
89-
cibw_arch: universal2
9087
- os: windows-latest
9188
cibw_arch: universal2
9289
- os: windows-latest
@@ -100,18 +97,18 @@ jobs:
10097
PIP_DISABLE_PIP_VERSION_CHECK: 1
10198

10299
steps:
103-
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
100+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
104101
with:
105102
fetch-depth: 50
106103
submodules: true
107104

108105
- name: Set up QEMU
109106
if: matrix.os == 'ubuntu-latest' && matrix.cibw_arch == 'aarch64'
110-
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
107+
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
111108
with:
112109
platforms: arm64
113110

114-
- uses: pypa/cibuildwheel@fff9ec32ed25a9c576750c91e06b410ed0c15db7 # v2.16.2
111+
- uses: pypa/cibuildwheel@7940a4c0e76eb2030e473a5f864f291f63ee879b # v2.21.3
115112
env:
116113
CIBW_BUILD_VERBOSITY: 1
117114
CIBW_BUILD: ${{ matrix.cibw_python }}
@@ -121,24 +118,25 @@ jobs:
121118
CIBW_TEST_COMMAND_WINDOWS: "python {project}\\tests\\__init__.py"
122119
CIBW_TEST_SKIP: "*universal2:arm64"
123120

124-
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
121+
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
125122
with:
126-
name: dist
123+
name: dist-{{ matrix.os }}-{{ matrix.cibw_arch }}-{{ matrix.cibw_python }}
127124
path: wheelhouse/*.whl
128125

129126
publish:
130127
needs: [build-sdist, build-wheels]
131128
runs-on: ubuntu-latest
132129

133130
steps:
134-
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
131+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
135132
with:
136133
fetch-depth: 5
137134
submodules: false
138135

139-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
136+
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
140137
with:
141-
name: dist
138+
pattern: dist-*
139+
merge-multiple: true
142140
path: dist/
143141

144142
- name: Extract Release Version
@@ -172,7 +170,7 @@ jobs:
172170
ls -al dist/
173171
174172
- name: Upload to PyPI
175-
uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
173+
uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
176174
with:
177175
user: __token__
178176
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
PIP_DISABLE_PIP_VERSION_CHECK: 1
2222

2323
steps:
24-
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
24+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
2525
with:
2626
fetch-depth: 50
2727
submodules: true
@@ -37,7 +37,7 @@ jobs:
3737
__version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"])
3838
3939
- name: Set up Python ${{ matrix.python-version }}
40-
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
40+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
4141
if: steps.release.outputs.version == 0
4242
with:
4343
python-version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)