mirror of
https://github.com/distribution/distribution
synced 2024-11-12 05:45:51 +01:00
1a905ab966
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
32 lines
535 B
YAML
32 lines
535 B
YAML
name: validate
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'release/*'
|
|
tags:
|
|
- 'v*'
|
|
pull_request:
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
target:
|
|
- lint
|
|
- validate-vendor
|
|
- validate-git
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v3
|
|
-
|
|
name: Run
|
|
run: |
|
|
make ${{ matrix.target }}
|
|
env:
|
|
COMMIT_RANGE: ${{ format('{0}..{1}', github.sha, 'HEAD') }}
|