Merge pull request #23 from DonyaOS/dependabot/go_modules/github.com/… #41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint | |
| on: [push, pull_request] | |
| permissions: # added using https://github.com/step-security/secure-workflows | |
| contents: read | |
| jobs: | |
| markdownlint: | |
| name: 🧹 Markdown Lint | |
| runs-on: ubuntu-18.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: '12.x' | |
| - run: npm install -g markdownlint-cli@0.23.2 | |
| - run: markdownlint '**/*.md' --ignore node_modules --config .github/.markdownlint.yml | |
| shellcheck: | |
| name: 🧹 Shellcheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Run ShellCheck | |
| uses: ludeeus/action-shellcheck@master | |
| yamllint: | |
| name: 🧹 YAML Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: yaml-lint | |
| uses: ibiqlik/action-yamllint@v1 | |
| with: | |
| config_file: .github/.yamllint |