Skip to content

Merge pull request #738 from nolimanom/patch-3 #48

Merge pull request #738 from nolimanom/patch-3

Merge pull request #738 from nolimanom/patch-3 #48

Workflow file for this run

name: Validation
on:
pull_request:
push:
branches: [main]
paths:
- "domains/*"
- ".github/workflows/validate.yml"
- "dnsconfig.js"
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-validate
cancel-in-progress: true
jobs:
dns:
name: DNS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check
uses: is-a-dev/dnscontrol-action@main
with:
args: check
json:
name: JSON
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: JSON Syntax Check
uses: limitusus/json-syntax-check@v2
with:
pattern: "\\.json$"
env:
BASE: "domains/"