name: Lint Dockerfiles on: [push, pull_request] jobs: build: runs-on: macos-latest steps: - uses: actions/checkout@v2.3.5 - run: brew install hadolint - run: hadolint {12,14,16}/Dockerfile