Bump tj-actions/changed-files from 34 to 41 in /.github/workflows #12
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: | |
workflow_call: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: lint-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint-poetry: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install Python Poetry | |
uses: abatilo/actions-poetry@v2.2.0 | |
with: | |
poetry-version: "1.5.1" | |
- name: Check poetry config is valid | |
run: | | |
poetry check | |
lint-dockerfile: | |
runs-on: ubuntu-latest | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Lint dockerfile (hadolint) | |
uses: hadolint/hadolint-action@v3.0.0 | |
lint-markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Lint markdown files | |
uses: avto-dev/markdown-lint@v1.5.0 | |
with: | |
args: "**/*.md" |