Skip to content

Automatically lint new PRs #5

Automatically lint new PRs

Automatically lint new PRs #5

Workflow file for this run

name: ansible-test
on:
pull_request:
branches:
- main
- release/v*
workflow_dispatch:
jobs:
lint:
name: Ansible Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create collection directory
run: mkdir -p "$HOME/.ansible/collections/ansible_collections/tofugarden/secureboot"
- name: Copy repo contents to collection dir
run: cp -r * "$HOME/.ansible/collections/ansible_collections/tofugarden/secureboot/"
- name: Run ansible-test
run: ansible-test sanity
working-directory: "home/runner/.ansible/collections"