Skip to content

more gh actions

more gh actions #29

Workflow file for this run

# .github/workflows/ansible-lint.yml
name: ansible-lint
on:
pull_request:
branches: ["main", "stable", "release/v*"]
push:
branches: ["main", "stable", "release/v*"]
jobs:
build:
name: Ansible Lint # Naming the build is important to use it as a status check
runs-on: ubuntu-latest
steps:
- name: Run ansible-lint
uses: ansible/ansible-lint@main # or version tag instead of 'main'
hadolint:
name: Hadolint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: hadolint/hadolint-action@v3.1.0
with:

Check failure on line 22 in .github/workflows/ansible-lint.yml

View workflow run for this annotation

GitHub Actions / ansible-lint

Invalid workflow file

The workflow is not valid. .github/workflows/ansible-lint.yml (Line: 22, Col: 7): Unexpected value 'with'
dockerfile: molecule/common/Dockerfile_*