Skip to content

Commit 37412e7

Browse files
authored
chore(deps): GHA updates (#154)
1 parent 7f59b62 commit 37412e7

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414
lint:
1515
name: Lint
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-22.04
1717
steps:
1818
- uses: actions/checkout@v3
1919
- uses: actions/setup-python@v4
@@ -30,25 +30,25 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
include:
33-
- os: ubuntu-20.04
33+
- os: ubuntu-22.04
3434
arch: "x86_64"
35-
- os: ubuntu-20.04
35+
- os: ubuntu-22.04
3636
arch: "i686"
37-
- os: ubuntu-20.04
37+
- os: ubuntu-22.04
3838
arch: "aarch64"
39-
- os: ubuntu-20.04
39+
- os: ubuntu-22.04
4040
arch: "ppc64le"
41-
- os: ubuntu-20.04
41+
- os: ubuntu-22.04
4242
arch: "s390x"
4343
- os: windows-2019
4444
arch: "AMD64"
4545
- os: windows-2019
4646
arch: "x86"
47-
- os: macos-10.15
47+
- os: macos-11
4848
arch: "universal2"
4949

5050
steps:
51-
- uses: actions/checkout@v2
51+
- uses: actions/checkout@v3
5252
with:
5353
fetch-depth: 0 # required for versioneer to find tags
5454

@@ -68,9 +68,9 @@ jobs:
6868
build_sdist:
6969
name: Build source distribution
7070
needs: [lint]
71-
runs-on: ubuntu-20.04
71+
runs-on: ubuntu-22.04
7272
steps:
73-
- uses: actions/checkout@v2
73+
- uses: actions/checkout@v3
7474
with:
7575
fetch-depth: 0 # required for versioneer to find tags
7676

@@ -84,14 +84,15 @@ jobs:
8484
test_sdist:
8585
name: Test SDist with python ${{ matrix.python }}
8686
needs: [build_sdist]
87+
# 22.04 doesn't have 2.7 or 3.6
8788
runs-on: ubuntu-20.04
8889
strategy:
8990
fail-fast: false
9091
matrix:
91-
python: ["2.7", "3.6", "3.10-dev"]
92+
python: ["2.7", "3.6", "3.11"]
9293

9394
steps:
94-
- uses: actions/checkout@v2
95+
- uses: actions/checkout@v3
9596
- uses: actions/setup-python@v4
9697
name: Install Python ${{ matrix.python }}
9798
with:
@@ -116,7 +117,7 @@ jobs:
116117
check_dist:
117118
name: Check dist
118119
needs: [build_wheels, build_sdist, test_sdist]
119-
runs-on: ubuntu-20.04
120+
runs-on: ubuntu-22.04
120121
steps:
121122
- uses: actions/download-artifact@v3
122123
with:
@@ -127,7 +128,7 @@ jobs:
127128

128129
upload_pypi:
129130
name: Upload to PyPI
130-
needs: [build_wheels, build_sdist, test_sdist, check_dist]
131+
needs: [check_dist]
131132
runs-on: ubuntu-latest
132133
if: github.event_name == 'push' && github.repository == 'scikit-build/ninja-python-distributions' && startsWith(github.ref, 'refs/tags/')
133134
steps:

0 commit comments

Comments
 (0)