Fix various dev tool install issues, make shellcheck a required lint … #1230
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: Chart Lint | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'exporters/**' | |
- 'charts/**' | |
- 'pelorus-operator/**' | |
- '.github/workflows/chart-lint.yml' | |
- 'lintconf.yaml' | |
- 'Makefile' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'exporters/**' | |
- 'charts/**' | |
- 'pelorus-operator/**' | |
- '.github/workflows/chart-lint.yml' | |
- 'lintconf.yaml' | |
- 'Makefile' | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.10', '3.11'] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
cache-dependency-path: | | |
**/requirements*.txt | |
pyproject.toml | |
- name: Lint charts | |
run: make chart-lint |