Linting 177c56bf07e89871d4c9c3a9959a8af4c7d13e02 #79
This file contains 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-latest | |
steps: | |
- name: Check out ${{ github.repository }}:${{ github.ref_name }} | |
uses: actions/checkout@v3 | |
- name: Run ShellCheck | |
uses: ludeeus/[email protected] | |
with: | |
ignore_paths: >- | |
i3blocks/contrib | |
.oh-my-zsh | |
ignore_names: >- | |
.zsh* | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out ${{ github.repository }}:${{ github.ref_name }} | |
uses: actions/checkout@v3 | |
- name: Run yamllint | |
run: | | |
yamllint . |