Skip to content

Bump oven-sh/setup-bun from 1.2.2 to 2 #666

Bump oven-sh/setup-bun from 1.2.2 to 2

Bump oven-sh/setup-bun from 1.2.2 to 2 #666

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