File tree Expand file tree Collapse file tree 1 file changed +31
-6
lines changed
Expand file tree Collapse file tree 1 file changed +31
-6
lines changed Original file line number Diff line number Diff line change 11name : Check PR
2- on : pull_request
2+ on :
3+ pull_request :
4+ paths :
5+ - ' src/**'
6+
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.ref }}
9+ cancel-in-progress : true
310
411jobs :
5- only :
12+ contents :
613 name : Check formatting and links
714 runs-on : ubuntu-latest
815 container :
9- image : ghcr.io/void-linux/void-linux:latest-mini -x86_64-musl
16+ image : ghcr.io/void-linux/void-linux:latest-full -x86_64-musl
1017 steps :
1118 - name : Prepare container
1219 run : |
1320 xbps-install -Syu || xbps-install -Syu xbps
1421 xbps-install -yu
15- xbps-install -y mdbook-linkcheck vmdfmt git findutils
16- - uses : actions/checkout@v1
17- - run : ./res/ci/format.sh
22+ xbps-install -y mdbook-linkcheck vmdfmt git findutils bash
23+ - name : Checkout
24+ id : checkout
25+ uses : classabbyamp/treeless-checkout-action@v1
26+ - name : Check summary
27+ if : steps.checkout.conclusion == 'success'
28+ run : res/ci/check-summary.sh
29+ - name : Check formatting
30+ if : success() || failure()
31+ run : res/ci/format.sh
32+ - name : Check links
33+ if : success() || failure()
34+ run : res/ci/linkcheck.sh
35+ commits :
36+ name : Check commits
37+ runs-on : ubuntu-latest
38+ steps :
39+ - name : Checkout
40+ uses : classabbyamp/treeless-checkout-action@v1
41+ - name : Check commit messages
42+ run : res/ci/commit-lint.sh
You can’t perform that action at this time.
0 commit comments