mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2026-01-10 09:54:43 +00:00
28 lines
562 B
YAML
28 lines
562 B
YAML
---
|
|
|
|
###
|
|
### Lints all generic and json files in the whole git repository
|
|
###
|
|
|
|
name: Linting
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
lint:
|
|
name: "[ ${{ matrix.job }} ]"
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: False
|
|
matrix:
|
|
job: [gen-dockerfiles]
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v1
|
|
- name: Diff generated Docker files
|
|
run: |
|
|
make "${JOB}"
|
|
git diff --quiet || { echo "Build Changes"; git diff; git status; false; }
|
|
env:
|
|
JOB: ${{ matrix.job }}
|