asdf/.github/workflows/lint.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
631 B
YAML
Raw Normal View History

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