diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 60c3cdc..49a6594 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,17 +24,14 @@ jobs: - name: List files id: list-files run: | - VIM_FILES=$(git ls-files -s '.*vim*' '**/*.vim' | awk '!/^16/ {print $4}') - echo "$VIM_FILES" >> $GITHUB_OUTPUT - YAML_FILES=$(git ls-files -s '*.yml' '**/*.yml' '*.yaml' '**/*.yaml' | awk '!/^16/ {print $4}') echo "$YAML_FILES" >> $GITHUB_OUTPUT shell: bash - name: Vint - run: pipx run --python 3.9 vint '${{ steps.list-files.outputs.vim-files }}' shell: bash + run: pipx run --python 3.9 vint $(git ls-files -s '.*vim*' '**/*.vim' | awk '!/^16/ {print $4}') - name: yamllint - run: pipx run yamllint '${{ steps.list-files.outputs.yaml-files }}' shell: bash + run: pipx run yamllint $(git ls-files -s '*.yml' '**/*.yml' '*.yaml' '**/*.yaml' | awk '!/^16/ {print $4}' diff --git a/.yamllint.yml b/.yamllint.yml index 584972f..15a72c1 100644 --- a/.yamllint.yml +++ b/.yamllint.yml @@ -3,5 +3,5 @@ extends: default rules: line-length: - max: 110 + max: 120 level: warning