+ add alias: fix-author #12
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: | |
ansible_lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: System information | |
run: | | |
uname -a | |
lsb_release -a | |
sudo docker --version | |
- name: Prepare and run container | |
run: | | |
sudo ./testing/1_create.sh linter | |
sudo ./testing/2_run.sh linter | |
- name: Lint ansible | |
run: | | |
sudo docker exec test-container /etc/ansible/roles/git-tools/testing/lint.sh | |
- name: Cleanup | |
run: | | |
sudo ./testing/5_remove.sh |