Update dependency molecule to v25 #55
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: linters | |
on: | |
pull_request: | |
branches: [ "master" ] | |
push: | |
branches: [ "master" ] | |
jobs: | |
ansible-lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: mamba-org/setup-micromamba@59bcdbae779c639f869cc8e3b223f36692af05c2 | |
with: | |
micromamba-version: '2.0.5-0' | |
environment-file: conda.dev.yml | |
init-shell: bash | |
post-cleanup: 'all' | |
- name: "Install role dependencies" | |
run: ansible-galaxy install -r requirements.yml | |
shell: micromamba-shell {0} | |
- name: Check workflow files themselves with ActionLint | |
run: actionlint | |
shell: micromamba-shell {0} | |
- name: Check environment files with YAMLLint | |
run: > | |
yamllint | |
conda.dev.yml | |
conda.prod.yml | |
shell: micromamba-shell {0} | |
- name: Run ansible-lint | |
run: ansible-lint -c .ansible-lint | |
shell: micromamba-shell {0} |