Skip to content

Update actions/checkout action to v6 #346

Update actions/checkout action to v6

Update actions/checkout action to v6 #346

Workflow file for this run

---
name: Prettier JSON Lint
on: # yamllint disable-line rule:truthy
push:
branches: ['main']
pull_request:
# The branches below must be a subset of the branches above
branches: ['main']
workflow_dispatch:
jobs:
json-lint:
name: 'Prettier JSON Lint'
runs-on: ['ubuntu-24.04']
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 24.x
- name: Install Prettier
run: |
npm install -g prettier@3.5.3
- name: Prettier LINT / Style JSON
run: >
prettier --check ./src/**/*.json