Skip to content

Commit cae4ddd

Browse files
committed
.github/workflows/ci.yaml: update container, split jobs
the non-fatal steps thing was dumb and maybe made it take longer due to lack of parallelism
1 parent c453278 commit cae4ddd

File tree

1 file changed

+32
-7
lines changed

1 file changed

+32
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,53 @@ concurrency:
99
cancel-in-progress: true
1010

1111
jobs:
12-
contents:
13-
name: Check formatting and links
12+
summary:
13+
name: Check summary
1414
runs-on: ubuntu-latest
1515
container:
16-
image: ghcr.io/void-linux/void-linux:latest-full-x86_64-musl
16+
image: ghcr.io/void-linux/void-musl-full:latest
1717
steps:
1818
- name: Prepare container
1919
run: |
2020
xbps-install -Syu || xbps-install -Syu xbps
2121
xbps-install -yu
22-
xbps-install -y mdbook-linkcheck vmdfmt git findutils bash
22+
xbps-install -y findutils bash git
2323
- name: Checkout
2424
id: checkout
2525
uses: classabbyamp/treeless-checkout-action@v1
2626
- name: Check summary
27-
if: steps.checkout.conclusion == 'success'
2827
run: res/ci/check-summary.sh
28+
format:
29+
name: Check formatting
30+
runs-on: ubuntu-latest
31+
container:
32+
image: ghcr.io/void-linux/void-musl-full:latest
33+
steps:
34+
- name: Prepare container
35+
run: |
36+
xbps-install -Syu || xbps-install -Syu xbps
37+
xbps-install -yu
38+
xbps-install -y vmdfmt bash git
39+
- name: Checkout
40+
id: checkout
41+
uses: classabbyamp/treeless-checkout-action@v1
2942
- name: Check formatting
30-
if: success() || failure()
3143
run: res/ci/format.sh
44+
linkcheck:
45+
name: Check links
46+
runs-on: ubuntu-latest
47+
container:
48+
image: ghcr.io/void-linux/void-musl-full:latest
49+
steps:
50+
- name: Prepare container
51+
run: |
52+
xbps-install -Syu || xbps-install -Syu xbps
53+
xbps-install -yu
54+
xbps-install -y mdbook-linkcheck bash git
55+
- name: Checkout
56+
id: checkout
57+
uses: classabbyamp/treeless-checkout-action@v1
3258
- name: Check links
33-
if: success() || failure()
3459
run: res/ci/linkcheck.sh
3560
commits:
3661
name: Check commits

0 commit comments

Comments
 (0)