Skip to content

Commit d528cd9

Browse files
authored
Merge pull request #352 from ldx/ldx/test-build
Fix build
2 parents 5bb75df + 4fffc0e commit d528cd9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ on:
66
tags:
77
- "v*"
88
pull_request:
9+
910
jobs:
1011
build-and-test:
11-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-20.04
1213
strategy:
1314
matrix:
1415
python-version:
@@ -19,9 +20,9 @@ jobs:
1920
- "3.11"
2021
steps:
2122
- name: Check out code
22-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2324
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
25+
uses: actions/setup-python@v5
2526
with:
2627
python-version: ${{ matrix.python-version }}
2728
- name: Build package
@@ -35,15 +36,15 @@ jobs:
3536
run: sudo PATH=$PATH coverage run setup.py test
3637

3738
release:
38-
runs-on: ubuntu-latest
39+
runs-on: ubuntu-20.04
3940
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
4041
needs:
4142
- build-and-test
4243
steps:
4344
- name: Check out code
44-
uses: actions/checkout@v2
45+
uses: actions/checkout@v4
4546
- name: Set up Python
46-
uses: actions/setup-python@v2
47+
uses: actions/setup-python@v5
4748
with:
4849
python-version: "3.x"
4950
- name: Build package

0 commit comments

Comments
 (0)