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