asdf/.github/workflows/lint.yml
2023-05-31 18:19:34 +10:00

32 lines
631 B
YAML

name: Lint
on:
push:
branches:
- master
pull_request:
env:
PYTHON_MIN_VERSION: "3.7.13"
jobs:
asdf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: asdf-vm/actions/install@v2
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_MIN_VERSION }}
- run: scripts/install_dependencies.bash
- run: scripts/lint.bash --check
actions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check workflow files
uses: docker://rhysd/actionlint:1.6.24
with:
args: -color