osm2pgsql 1.9.1-2 [EL7] (#167) #513
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 | |
on: | |
- push | |
jobs: | |
black: | |
name: Lint - black | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Lint with black | |
uses: psf/black@stable | |
hadolint: | |
name: Lint - hadolint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Lint with hadolint | |
uses: hadolint/hadolint-action@v3.0.0 | |
with: | |
dockerfile: Dockerfile.* | |
recursive: true | |
rpmlint: | |
name: Lint - rpmlint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install rpmlint | |
run: | | |
sudo apt-get --quiet --quiet install python3-rpm | |
pip install rpmlint | |
- name: Lint with rpmlint | |
run: | | |
rpmlint --ignore-unused-rpmlintrc --permissive --rpmlintrc .rpmlintrc SPECS/el?/*.spec | |
shellcheck: | |
name: Lint - shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install shellcheck | |
run: | | |
sudo apt-get --quiet --quiet install shellcheck | |
- name: Lint with shellcheck | |
run: | | |
shellcheck -x scripts/*.sh | |
yamllint: | |
name: Lint - yamllint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install yamllint | |
run: pip install yamllint | |
- name: Lint with yamllint | |
run: | | |
yamllint --format github . |