Skip to content

Bump docker/build-push-action from 6.0.1 to 6.1.0 #665

Bump docker/build-push-action from 6.0.1 to 6.1.0

Bump docker/build-push-action from 6.0.1 to 6.1.0 #665

Workflow file for this run

---
name: Lint - JSONLint
# yamllint disable-line rule:truthy
on:
push:
branches:
- master
pull_request:
types:
- opened
- reopened
- synchronize
workflow_call:
workflow_dispatch:
jobs:
lint-jsonlint:
name: 👕 JSONLint
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4.1.7
with:
ref: ${{ github.head_ref }}
- name: 🚀 Run JSONLint
run: |
sudo apt install -y jsonlint
for file in $(find ./ -type f -name "*.json"); do
if ! jsonlint-php -q $file; then
export FAILED=1
else
echo "$file OK"
fi
done
if [ "${FAILED}" = "1" ]; then
exit 1
fi