This commit is contained in:
Jack Ivanov 2020-12-08 11:02:39 +00:00 committed by Jack Ivanov
parent f4d59e427f
commit cbdd509486
2 changed files with 1 additions and 22 deletions

View file

@ -23,3 +23,4 @@ jobs:
ANSIBLE_DIRECTORY: . ANSIBLE_DIRECTORY: .
ANSIBLE_FILE_NAME: .ansible-lint ANSIBLE_FILE_NAME: .ansible-lint
OUTPUT_DETAILS: detailed OUTPUT_DETAILS: detailed
VALIDATE_ALL_CODEBASE: false

View file

@ -3,28 +3,6 @@ name: Main
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
lint:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2.2.2
with:
python-version: '3.7'
- name: Install dependencies
run: |
sudo apt update -y
python -m pip install --upgrade pip
pip install -r requirements.txt
sudo snap install shellcheck
pip install ansible-lint
- name: Checks and linters
run: |
/snap/bin/shellcheck algo install.sh
ansible-playbook main.yml --syntax-check
ansible-lint -x experimental,package-latest,unnamed-task -v *.yml roles/{local,cloud-*}/*/*.yml
scripted-deploy: scripted-deploy:
runs-on: ubuntu-16.04 runs-on: ubuntu-16.04
strategy: strategy: