---
name: build

on: [push, pull_request]

jobs:
  ansible-lint:
    name: Lint Ansible project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: ansible/ansible-lint-action@v4
        with:
          override-deps: |
            ansible==2.10.4
            ansible-lint==4.3.7
          targets: "./"

---
name: build

on: [push, pull_request]

jobs:
  ansible-lint:
    name: Lint Ansible project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: ansible/ansible-lint-action@v4.1.0
        with:
          override-deps: |
            ansible==2.10.4
            ansible-lint==4.3.7
          targets: "./"

Use v4.1.0 release for ansible-lint-action
Use v4.1.0 release for ansible-lint-action
