mirror of https://github.com/docker/cli.git
31 lines
486 B
YAML
31 lines
486 B
YAML
|
name: validate
|
||
|
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
push:
|
||
|
branches:
|
||
|
- 'master'
|
||
|
- '[0-9]+.[0-9]{2}'
|
||
|
tags:
|
||
|
- 'v*'
|
||
|
pull_request:
|
||
|
|
||
|
jobs:
|
||
|
lint:
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
matrix:
|
||
|
target:
|
||
|
- lint
|
||
|
- shellcheck
|
||
|
steps:
|
||
|
-
|
||
|
name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
-
|
||
|
name: Run
|
||
|
uses: docker/bake-action@v1
|
||
|
with:
|
||
|
targets: ${{ matrix.target }}
|