Skip to content

Commit 69a6eb1

Browse files
authored
Update CI (#134)
* build * update actions * update actions * update actions * fix one test * build * remove 3.13 * remove 3.13 * macé * fix missing env * fix build * try * agzin * remove x86
1 parent 5e05cde commit 69a6eb1

14 files changed

+57
-48
lines changed

.github/workflows/black-ruff.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ jobs:
44
black-format-check:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v2
7+
- uses: actions/checkout@v4
88
- uses: psf/black@stable
99
with:
1010
options: "--diff --check"
1111
src: "."
1212
ruff-format-check:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- uses: chartboost/ruff-action@v1

.github/workflows/check-urls.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
- name: urls-checker-code
2626
uses: urlstechie/urlchecker-action@main

.github/workflows/clang.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
clang-format-checking:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v2
7+
- uses: actions/checkout@v4
88
- uses: RafikFarhad/clang-format-github-action@v3
99
with:
1010
sources: "src/**/*.h,src/**/*.c,test/**/*.c"

.github/workflows/cmakelint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Checkout repository
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v4
1212

1313
- name: Format CMake files
1414
id: cmake-format

.github/workflows/documentation.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
os: [ubuntu-latest]
1818

1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121

22-
- uses: actions/setup-python@v4
22+
- uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.12'
2525

2626
- uses: tlylt/install-graphviz@v1
2727

@@ -35,7 +35,7 @@ jobs:
3535
run: python -m pip install -r requirements-dev.txt
3636

3737
- name: Cache pip
38-
uses: actions/cache@v2
38+
uses: actions/cache@v4
3939
with:
4040
path: ~/.cache/pip
4141
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-dev.txt') }}
@@ -86,6 +86,6 @@ jobs:
8686
exit 1
8787
fi
8888
89-
- uses: actions/upload-artifact@v3
89+
- uses: actions/upload-artifact@v4
9090
with:
9191
path: ./dist/html/**

.github/workflows/mypy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ jobs:
44
mypy:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v3
8-
- uses: actions/setup-python@v4
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-python@v5
99
with:
10-
python-version: '3.11'
10+
python-version: '3.12'
1111
- name: Install mypy
1212
run: pip install mypy
1313
- name: Run mypy

.github/workflows/rstcheck.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
os: [ubuntu-latest]
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
# Used to host cibuildwheel
17-
- uses: actions/setup-python@v4
17+
- uses: actions/setup-python@v5
1818
with:
19-
python-version: '3.11'
19+
python-version: '3.12'
2020

2121
- name: Install requirements
2222
run: python -m pip install -r requirements.txt

.github/workflows/wheels-linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
os: [ubuntu-latest]
2626

2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929

3030
# Used to host cibuildwheel
31-
- uses: actions/setup-python@v4
31+
- uses: actions/setup-python@v5
3232
with:
33-
python-version: '3.11'
33+
python-version: '3.12'
3434

3535
- name: Install cibuildwheel
3636
run: python -m pip install cibuildwheel
@@ -41,6 +41,6 @@ jobs:
4141
- name: Build wheels
4242
run: python -m cibuildwheel --output-dir wheelhouse
4343

44-
- uses: actions/upload-artifact@v3
44+
- uses: actions/upload-artifact@v4
4545
with:
4646
path: ./wheelhouse/*.whl

.github/workflows/wheels-mac.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
os: [macOS-latest]
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525

2626
# Used to host cibuildwheel
27-
- uses: actions/setup-python@v4
27+
- uses: actions/setup-python@v5
2828
with:
29-
python-version: '3.11'
29+
python-version: '3.12'
3030

3131
- name: Install cibuildwheel
3232
run: python -m pip install cibuildwheel
@@ -37,6 +37,6 @@ jobs:
3737
- name: Build wheels
3838
run: python -m cibuildwheel --output-dir wheelhouse
3939

40-
- uses: actions/upload-artifact@v3
40+
- uses: actions/upload-artifact@v4
4141
with:
4242
path: ./wheelhouse/*.whl

.github/workflows/wheels-windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
os: [windows-latest]
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
# Used to host cibuildwheel
26-
- uses: actions/setup-python@v4
26+
- uses: actions/setup-python@v5
2727
with:
28-
python-version: '3.10'
28+
python-version: '3.12'
2929

3030
- name: Install cibuildwheel
3131
run: python -m pip install cibuildwheel
@@ -36,6 +36,6 @@ jobs:
3636
- name: Build wheels
3737
run: python -m cibuildwheel
3838

39-
- uses: actions/upload-artifact@v3
39+
- uses: actions/upload-artifact@v4
4040
with:
4141
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)