summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/linter.yml
blob: f0e1e6ffd0408fc1f53bfbb91ff0125c6c82cc97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Lint Code Base

on:
  push:
    branches-ignore: [master]
    # Remove the line above to run when pushing to master
  pull_request:
    branches: [master]

jobs:
  build:
    name: Lint Code Base
    runs-on: ubuntu-latest
    steps:
      - uses: actions/[email protected]
      - uses: github/[email protected]
        env:
          ERROR_ON_MISSING_EXEC_BIT: true
          VALIDATE_BASH: true
          # VALIDATE_BASH_EXEC: true
          # VALIDATE_EDITORCONFIG: true
          VALIDATE_MARKDOWN: true
          # VALIDATE_SHELL_SHFMT: true
          VALIDATE_YAML: true
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}