Skip to content

Commit 67ecde2

Browse files
authored
Update workflow for wt2526 (#1)
1 parent ce32f69 commit 67ecde2

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/testing.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ jobs:
66
style:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: actions/setup-python@v2
9+
- uses: actions/checkout@v6
10+
- uses: actions/setup-python@v6
1111
with:
12-
python-version: '3.8'
12+
python-version: '3.10'
1313
- name: "Install style checker"
1414
run: pip install black
1515
- name: "Run style check"
@@ -23,12 +23,13 @@ jobs:
2323
- name: "Run build phase"
2424
run: echo "Building project $PROJECT_NAME"
2525
test:
26-
needs: build
26+
# needs: build # We would normally not run the tests if the build fails,
27+
# but letting them go through, for demonstration purposes.
2728
runs-on: ubuntu-latest
2829
steps:
29-
- uses: actions/checkout@v2
30-
- uses: actions/setup-python@v2
30+
- uses: actions/checkout@v6
31+
- uses: actions/setup-python@v6
3132
with:
32-
python-version: '3.8'
33+
python-version: '3.10'
3334
- name: "Run unittest"
3435
run: python -m unittest

0 commit comments

Comments
 (0)