diff options
Diffstat (limited to '.github/workflows/boilerplate.yaml')
-rw-r--r-- | .github/workflows/boilerplate.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/boilerplate.yaml b/.github/workflows/boilerplate.yaml new file mode 100644 index 0000000..3782e51 --- /dev/null +++ b/.github/workflows/boilerplate.yaml @@ -0,0 +1,33 @@ +name: Boilerplate + +on: + pull_request: + branches: ['main'] + +jobs: + + check: + name: Boilerplate Check + runs-on: ubuntu-latest + strategy: + fail-fast: false # Keep running if one leg fails. + matrix: + extension: + - go + - sh + + # Map between extension and human-readable name. + include: + - extension: go + language: Go + - extension: sh + language: Bash + + steps: + - name: Check out code + uses: actions/checkout@v3 + + - uses: chainguard-dev/actions/boilerplate@5e21cb47971231c078a677dfe89a348371cb880c # main + with: + extension: ${{ matrix.extension }} + language: ${{ matrix.language }} |