14 runs-on: ubuntu-latest
19 uses: actions/checkout@v2.3.3
22 uses: actions/setup-node@v1.4.4
24 - name: Install remark
25 run: npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm
28 - name: Check *.md files
29 run: git ls-files -z '*.md' | xargs -0 -n 1 -I {} ./node_modules/.bin/remark {} -u lint -f > /dev/null
31 # These jobs doesn't actually test anything, but they're only used to tell
32 # bors the build completed, as there is no practical way to detect when a
33 # workflow is successful listening to webhooks only.
35 # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
38 name: bors remark test finished
39 if: github.event.pusher.name == 'bors' && success()
40 runs-on: ubuntu-latest
44 - name: Mark the job as successful
48 name: bors remark test finished
49 if: github.event.pusher.name == 'bors' && (failure() || cancelled())
50 runs-on: ubuntu-latest
54 - name: Mark the job as a failure