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