Linting e9786ef5da8f65b7feff325292c6e0e18ca86b22 #35
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 and checks | |
| run-name: Linting ${{ github.sha }} | |
| on: # yamllint disable-line rule:truthy | |
| - push | |
| - pull_request | |
| jobs: | |
| ShellCheck: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Check out ${{ github.repository }}:${{ github.ref_name }} | |
| uses: actions/checkout@v3 | |
| - name: Run ShellCheck | |
| uses: ludeeus/action-shellcheck@2.0.0 | |
| with: | |
| version: v0.8.0 | |
| yamllint: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Check out ${{ github.repository }}:${{ github.ref_name }} | |
| uses: actions/checkout@v3 | |
| - name: Run yamllint | |
| run: | | |
| yamllint . |