browsertrix/.github/workflows/ansible-lint.yaml
Vinzenz Sinapius a674689354
Update ansible pipfile (#2088)
Fixes some dependabot alerts
2024-09-20 11:41:21 -07:00

36 lines
707 B
YAML

name: ansible-lint
on:
push:
paths:
- 'ansible/**'
pull_request:
paths:
- 'ansible/**'
jobs:
build:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # needed for progressive mode to work
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
cd ansible/
python -m pip install --upgrade pip
pip install pipenv
pipenv sync
- name: Lint
run: |
cd ansible
pipenv run ansible-lint -c ./lint-cfg.yml ./do_setup.yml