2021-08-05 02:44:16 -04:00
|
|
|
name: validate
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
- '[0-9]+.[0-9]{2}'
|
|
|
|
tags:
|
|
|
|
- 'v*'
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
2021-12-16 15:15:53 -05:00
|
|
|
validate:
|
2021-08-05 02:44:16 -04:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
target:
|
|
|
|
- lint
|
|
|
|
- shellcheck
|
2021-12-16 15:15:53 -05:00
|
|
|
- validate-vendor
|
2021-08-05 02:44:16 -04:00
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
2021-10-11 14:01:46 -04:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-08-05 02:44:16 -04:00
|
|
|
-
|
|
|
|
name: Run
|
|
|
|
uses: docker/bake-action@v1
|
|
|
|
with:
|
|
|
|
targets: ${{ matrix.target }}
|