npm crap #122
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 CI | |
on: | |
push: | |
branches: ['*'] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install ansible-lint | |
run: pip install ansible-lint | |
- name: Install Galaxy Modules | |
run: ansible-galaxy install -r requirements.yml | |
- name: Linting with ansible-lint | |
run: ansible-lint main.yml |