Merge pull request #6 from smallstep/dependabot/github_actions/action… #21
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: Run Ansible Sanity Tests | |
on: | |
push: | |
tags-ignore: | |
- 'v*' | |
branches: | |
- "main" | |
pull_request: | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ansible_collections/smallstep/sigstore | |
steps: | |
- name: Clone the repo | |
uses: actions/checkout@v4 | |
with: | |
path: ansible_collections/smallstep/sigstore | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Install Ansible | |
run: pip install ansible | |
- name: Run the sanity tests | |
run: ansible-test sanity --skip-test validate-modules |