Skip to content

Commit aad5bf3

Browse files
Merge pull request #145 from effigies/dependabot
chore(dependabot): Configure dependabot to update actions
2 parents 3cfc54c + d236597 commit aad5bf3

File tree

6 files changed

+52
-112
lines changed

6 files changed

+52
-112
lines changed

.ci/download_zlib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
set -e
66

7-
ZLIB_VERSION=1.3
7+
ZLIB_VERSION=1.3.1
88

99
curl -o zlib.tar.gz https://www.zlib.net/zlib-${ZLIB_VERSION}.tar.gz
1010

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
groups:
8+
actions-infrastructure:
9+
patterns:
10+
- "actions/*"
11+
third-party:
12+
patterns:
13+
- "docker/*"
14+
- "pypa/*"

.github/workflows/main.yaml

Lines changed: 6 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ defaults:
1414
run:
1515
shell: bash
1616

17-
1817
jobs:
1918

2019
# Quick tests run on all OSes/python versions
@@ -37,12 +36,11 @@ jobs:
3736
ENV_DIR: ./test.env
3837

3938
steps:
40-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v4
4140
- name: Set up Python ${{ matrix.python-version }}
42-
uses: actions/setup-python@v2
41+
uses: actions/setup-python@v5
4342
with:
4443
python-version: ${{ matrix.python-version }}
45-
architecture: x64
4644
- name: Create test environment
4745
run: bash ./.ci/create_test_env.sh "$ENV_DIR"
4846
- name: Log test environment
@@ -108,12 +106,11 @@ jobs:
108106
ENV_DIR: ./test.env
109107

110108
steps:
111-
- uses: actions/checkout@v2
109+
- uses: actions/checkout@v4
112110
- name: Set up Python
113-
uses: actions/setup-python@v2
111+
uses: actions/setup-python@v5
114112
with:
115113
python-version: "3.10"
116-
architecture: x64
117114
- name: Create test environment
118115
run: bash ./.ci/create_test_env.sh "$ENV_DIR"
119116
- name: Log test environment
@@ -220,46 +217,11 @@ jobs:
220217
ENV_DIR: ./test.env
221218

222219
steps:
223-
- uses: actions/checkout@v2
220+
- uses: actions/checkout@v4
224221
- name: Set up Python
225-
uses: actions/setup-python@v2
222+
uses: actions/setup-python@v5
226223
with:
227224
python-version: "3.10"
228-
architecture: "x64"
229-
- name: Create test environment
230-
run: bash ./.ci/create_test_env.sh "$ENV_DIR"
231-
- name: Log test environment
232-
run: |
233-
source ./.ci/activate_env.sh "$ENV_DIR"
234-
python -V
235-
pip freeze
236-
- name: Build indexed_gzip
237-
run: bash ./.ci/build_dev_indexed_gzip.sh "$ENV_DIR"
238-
- name: Run tests
239-
run: bash ./.ci/run_tests.sh "$ENV_DIR"
240-
241-
242-
# Tests on 32 bit platform
243-
test-32bit:
244-
runs-on: ubuntu-latest
245-
container: i386/ubuntu:20.04
246-
strategy:
247-
matrix:
248-
python-version: ["3.9"]
249-
extra-args: ["", "--concat"]
250-
251-
env:
252-
USING_OS_PYTHON: 1
253-
PYTHON_VERSION: ${{ matrix.python-version }}
254-
EXTRA_ARGS: ${{ matrix.extra-args }}
255-
ENV_DIR: ./test.env
256-
257-
steps:
258-
- name: Install git
259-
run: apt-get update -y && apt-get install -y git
260-
- uses: actions/checkout@v1
261-
- name: Install system dependencies
262-
run: bash ./.ci/install_32bit_dependencies.sh
263225
- name: Create test environment
264226
run: bash ./.ci/create_test_env.sh "$ENV_DIR"
265227
- name: Log test environment

.github/workflows/pull_request.yaml

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@ jobs:
2828
ENV_DIR: ./test.env
2929

3030
steps:
31-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@v4
3232
- name: Set up Python ${{ matrix.python-version }}
33-
uses: actions/setup-python@v2
33+
uses: actions/setup-python@v5
3434
with:
3535
python-version: ${{ matrix.python-version }}
36-
architecture: x64
3736
- name: Create test environment
3837
run: bash ./.ci/create_test_env.sh "$ENV_DIR"
3938
- name: Log test environment
@@ -48,38 +47,3 @@ jobs:
4847
run: bash ./.ci/build_dev_indexed_gzip.sh "$ENV_DIR"
4948
- name: Run tests
5049
run: bash ./.ci/run_tests.sh "$ENV_DIR"
51-
52-
53-
# Quick tests on 32 bit platform
54-
test-32bit:
55-
runs-on: ubuntu-latest
56-
container: i386/ubuntu:20.04
57-
strategy:
58-
matrix:
59-
python-version: ["3.9"]
60-
extra-args: ["", "--concat"]
61-
62-
env:
63-
USING_OS_PYTHON: 1
64-
PYTHON_VERSION: ${{ matrix.python-version }}
65-
TEST_SUITE: "not slow_test"
66-
EXTRA_ARGS: ${{ matrix.extra-args }}
67-
ENV_DIR: ./test.env
68-
69-
steps:
70-
- name: Install git
71-
run: apt-get update -y && apt-get install -y git
72-
- uses: actions/checkout@v1
73-
- name: Install system dependencies
74-
run: bash ./.ci/install_32bit_dependencies.sh
75-
- name: Create test environment
76-
run: bash ./.ci/create_test_env.sh "$ENV_DIR"
77-
- name: Log test environment
78-
run: |
79-
source ./.ci/activate_env.sh "$ENV_DIR"
80-
python -V
81-
pip freeze
82-
- name: Build indexed_gzip
83-
run: bash ./.ci/build_dev_indexed_gzip.sh "$ENV_DIR"
84-
- name: Run tests
85-
run: bash ./.ci/run_tests.sh "$ENV_DIR"

.github/workflows/release.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ jobs:
1616
name: Build source distribution
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020

21-
- uses: actions/setup-python@v2
21+
- uses: actions/setup-python@v5
2222
name: Install Python
2323
with:
2424
python-version: "3.10"
2525

2626
- name: Build sdist
2727
run: python setup.py sdist
2828

29-
- uses: actions/upload-artifact@v2
29+
- uses: actions/upload-artifact@v4
3030
with:
3131
name: sdist
3232
path: ./dist/*.tar.gz
@@ -40,16 +40,16 @@ jobs:
4040
CIBW_ARCHS_MACOS: "x86_64 arm64 universal2"
4141

4242
steps:
43-
- uses: actions/checkout@v2
44-
- uses: actions/setup-python@v2
43+
- uses: actions/checkout@v4
44+
- uses: actions/setup-python@v5
4545
name: Install Python
4646
with:
4747
python-version: "3.10"
4848

4949
- name: Build wheels
5050
run: bash ./.ci/build_wheels.sh
5151

52-
- uses: actions/upload-artifact@v2
52+
- uses: actions/upload-artifact@v4
5353
with:
5454
name: wheels
5555
path: ./dist/*.whl
@@ -67,16 +67,16 @@ jobs:
6767
CIBW_ARCHS_WINDOWS: ${{ matrix.arch }}
6868

6969
steps:
70-
- uses: actions/checkout@v2
71-
- uses: actions/setup-python@v2
70+
- uses: actions/checkout@v4
71+
- uses: actions/setup-python@v5
7272
name: Install Python
7373
with:
7474
python-version: "3.10"
7575
- name: Download zlib
7676
run: bash ./.ci/download_zlib.sh
7777
- name: Build wheels
7878
run: bash ./.ci/build_wheels.sh
79-
- uses: actions/upload-artifact@v2
79+
- uses: actions/upload-artifact@v4
8080
with:
8181
name: wheels
8282
path: ./dist/*.whl
@@ -95,17 +95,17 @@ jobs:
9595
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
9696

9797
steps:
98-
- uses: actions/checkout@v2
99-
- uses: actions/setup-python@v2
98+
- uses: actions/checkout@v4
99+
- uses: actions/setup-python@v5
100100
name: Install Python
101101
with:
102102
python-version: "3.10"
103103
- name: Set up QEMU for emulated (e.g. ARM) builds
104104
if: ${{ matrix.arch == 'aarch64' }}
105-
uses: docker/setup-qemu-action@v1
105+
uses: docker/setup-qemu-action@v3
106106
- name: Build wheels
107107
run: bash ./.ci/build_wheels.sh
108-
- uses: actions/upload-artifact@v2
108+
- uses: actions/upload-artifact@v4
109109
with:
110110
name: wheels
111111
path: ./dist/*.whl
@@ -118,18 +118,18 @@ jobs:
118118
steps:
119119

120120
- name: Download source archive
121-
uses: actions/download-artifact@v2
121+
uses: actions/download-artifact@v4
122122
with:
123123
name: sdist
124124
path: dist/
125125
- name: Download wheel archives
126-
uses: actions/download-artifact@v2
126+
uses: actions/download-artifact@v4
127127
with:
128128
name: wheels
129129
path: dist/
130130

131131
- name: Publish archives to PyPI
132-
uses: pypa/gh-action-pypi-publish@v1.4.1
132+
uses: pypa/gh-action-pypi-publish@v1.9.0
133133
with:
134134
user: __token__
135135
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/test_release.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
name: Build source distribution
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919

20-
- uses: actions/setup-python@v2
20+
- uses: actions/setup-python@v5
2121
name: Install Python
2222
with:
2323
python-version: "3.10"
2424

2525
- name: Build sdist
2626
run: python setup.py sdist
2727

28-
- uses: actions/upload-artifact@v2
28+
- uses: actions/upload-artifact@v4
2929
with:
3030
name: sdist
3131
path: ./dist/*.tar.gz
@@ -39,16 +39,16 @@ jobs:
3939
CIBW_ARCHS_MACOS: "x86_64 arm64 universal2"
4040

4141
steps:
42-
- uses: actions/checkout@v2
43-
- uses: actions/setup-python@v2
42+
- uses: actions/checkout@v4
43+
- uses: actions/setup-python@v5
4444
name: Install Python
4545
with:
4646
python-version: "3.10"
4747

4848
- name: Build wheels
4949
run: bash ./.ci/build_wheels.sh
5050

51-
- uses: actions/upload-artifact@v2
51+
- uses: actions/upload-artifact@v4
5252
with:
5353
name: wheels
5454
path: ./dist/*.whl
@@ -66,16 +66,16 @@ jobs:
6666
CIBW_ARCHS_WINDOWS: ${{ matrix.arch }}
6767

6868
steps:
69-
- uses: actions/checkout@v2
70-
- uses: actions/setup-python@v2
69+
- uses: actions/checkout@v4
70+
- uses: actions/setup-python@v5
7171
name: Install Python
7272
with:
7373
python-version: "3.10"
7474
- name: Download zlib
7575
run: bash ./.ci/download_zlib.sh
7676
- name: Build wheels
7777
run: bash ./.ci/build_wheels.sh
78-
- uses: actions/upload-artifact@v2
78+
- uses: actions/upload-artifact@v4
7979
with:
8080
name: wheels
8181
path: ./dist/*.whl
@@ -94,17 +94,17 @@ jobs:
9494
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
9595

9696
steps:
97-
- uses: actions/checkout@v2
98-
- uses: actions/setup-python@v2
97+
- uses: actions/checkout@v4
98+
- uses: actions/setup-python@v5
9999
name: Install Python
100100
with:
101101
python-version: "3.10"
102102
- name: Set up QEMU for emulated (e.g. ARM) builds
103103
if: ${{ matrix.arch == 'aarch64' }}
104-
uses: docker/setup-qemu-action@v1
104+
uses: docker/setup-qemu-action@v3
105105
- name: Build wheels
106106
run: bash ./.ci/build_wheels.sh
107-
- uses: actions/upload-artifact@v2
107+
- uses: actions/upload-artifact@v4
108108
with:
109109
name: wheels
110110
path: ./dist/*.whl

0 commit comments

Comments
 (0)