on: [push, pull_request]
name: Ansible Lint
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Lint Ansible Playbook
        uses: ansible/ansible-lint-action@main

on: [push, pull_request]
name: Ansible Lint
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Lint Ansible Playbook
        uses: ansible/ansible-lint-action@main

Update actions/checkout action to v3
Update actions/checkout action to v3
