feat: add yaml linter #1492
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- # Workflow for building and running docker images as regression test | |
name: Docker Build & Run | |
on: | |
push: | |
branches: [develop, main] | |
pull_request: | |
branches: | |
- "**" | |
workflow_dispatch: | |
branches: | |
- "**" | |
jobs: | |
docker: | |
name: Regression test docker images | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- run: | | |
docker build --progress=plain --build-arg=PROFILE=dev --tag scratch . | |
docker run --rm --init --entrypoint leader scratch --help | |
docker run --rm --init --entrypoint worker scratch --help | |
docker run --rm --init --entrypoint rpc scratch --help | |
docker run --rm --init --entrypoint verifier scratch --help |