mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -07:00
32 lines
631 B
YAML
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
|