build(deps): Bump cross-spawn from 7.0.3 to 7.0.6 in /website #2696
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: Ansible Lint | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10.9' | |
- name: Update pip | |
run: | | |
python -m pip install --upgrade pip | |
- name: Set up virtualenv | |
run: | | |
pip3 install virtualenv | |
virtualenv --python=python${{ matrix.python-version }} benchmark | |
source benchmark/bin/activate | |
pip install -r requirements.txt | |
- name: Install ansible dependencies | |
run: | | |
source benchmark/bin/activate | |
ansible-galaxy install cloudalchemy.node_exporter | |
ansible-galaxy install cloudalchemy.prometheus | |
- name: Lint Ansible Playbook | |
uses: ansible/ansible-lint-action@main | |
with: | |
path: ansible/ | |
override-deps: | | |
ansible==2.10.7 | |
ansible-lint==4.3.7 | |
args: "-x 301,302,303,305,306,204,208" |