Skip to content

Merge pull request #157 from hossain-khan/renovate/rexml-3.x-lockfile #251

Merge pull request #157 from hossain-khan/renovate/rexml-3.x-lockfile

Merge pull request #157 from hossain-khan/renovate/rexml-3.x-lockfile #251

Workflow file for this run

# This is a basic workflow to validate JSON file using https://github.com/leadpony/justify
name: Justify JSON Schema
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '21'
- name: Download a file
uses: carlosperate/download-file-action@v2.0.2
id: download-poetry
with:
file-url: 'https://github.com/leadpony/justify/releases/download/v3.0.0-RC1/justify-cli-3.0.0-RC1.zip'
file-name: 'justify-cli-3.0.0-RC1.zip'
location: './'
- name: Unzip Justify
run: unzip justify-cli-3.0.0-RC1.zip
- name: Validate API JSON data
run: justify-cli/justify -s photos-schema.json -i photos.json