Remove conda environment and recreate when env updated #173
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: | |
name: Ansible Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run ansible-lint | |
uses: ansible/[email protected] | |
- name: Check ansible-lint diff | |
if: failure() | |
uses: ansible/[email protected] | |
with: | |
args: "--fix" | |
- name: Check ansible lint diff and undo | |
if: failure() | |
run: | | |
git diff |