# This is a basic workflow to help you get started with Actions name: CI # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: push: branches: [ master ] pull_request: branches: [ master ] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: pre-commit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: pre-commit uses: pre-commit/action@v1.1.0 lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Hadolint Action uses: brpaz/hadolint-action@v1.1.0 build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build the tagged Docker image run: docker build .