github.com/eth-easl/loader@v0.0.0-20230908084258-8a37e1d94279/.github/workflows/linters.yaml (about) 1 name: Linters 2 on: 3 push: 4 branches: [main] 5 pull_request: 6 branches: [main] 7 8 jobs: 9 build: 10 name: Spellcheck 11 runs-on: ubuntu-20.04 12 steps: 13 - uses: actions/checkout@v3 14 - uses: rojopolis/spellcheck-github-actions@0.33.0 15 name: Spellcheck 16 with: 17 config_path: .github/configs/spellcheck.yml 18 commitlint: 19 name: Commitlint 20 runs-on: ubuntu-20.04 21 steps: 22 - uses: actions/checkout@v3 23 with: 24 fetch-depth: 0 25 - uses: actions/setup-node@v3 26 with: 27 node-version: "14" 28 29 - name: Install Commitlint 30 run: sudo npm install -g @commitlint/cli 31 32 - name: Lint commits 33 run: commitlint 34 --config ${{ github.workspace }}/.github/configs/commitlint.config.js 35 --help-url 'https://stackoverflow.com/a/45974435' 36 --from HEAD~1 --to HEAD 37 --verbose 38 markdown-link-check: 39 name: LinkCheck 40 runs-on: ubuntu-20.04 41 steps: 42 - uses: actions/checkout@v3 43 - uses: gaurav-nelson/github-action-markdown-link-check@v1 44 with: 45 use-quiet-mode: "yes" 46 config-file: ".github/configs/linkcheck.json"