Merge pull request #785 from siddharth9300/main #164
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/" |