Skip to content

Commit

Permalink
#24 Trying different action
Browse files Browse the repository at this point in the history
  • Loading branch information
oakbrad committed Jun 5, 2024
1 parent 76a4c38 commit 731ea1f
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/validate-brew-json.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
name: Validate Homebrew JSON
name: Validate 5eTools Homebrew JSON

on: [pull_request, push]
on:
push:

jobs:
verify-json-validation:
validate-config:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Validate JSON
uses: ScratchAddons/validate-json-action@master
env:
schema: /.github/homebrew-schema.json
jsons: |
"5etools-homebrew/Dungeon Church; Pyora.json"
- name: Checkout repository
uses: actions/checkout@v4

- name: validate
uses: ammarlakis/action-ajv@master
with:
schema: .github/homebrew-schema.json
data: 5etools-homebrew/*json
allErrors: true

0 comments on commit 731ea1f

Please sign in to comment.