Skip to content

Merge pull request #8469 from SwiftPackageIndex/create-pull-request/p… #10183

Merge pull request #8469 from SwiftPackageIndex/create-pull-request/p…

Merge pull request #8469 from SwiftPackageIndex/create-pull-request/p… #10183

Workflow file for this run

name: Valid JSON
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
pull_request_review:
types: [submitted]
env:
SWIFT_IMAGE: swift:6.0.1-jammy
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
validate:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Validate JSON
run: docker run --rm --env GITHUB_TOKEN=$GITHUB_TOKEN -v "$PWD:/host" -w /host $SWIFT_IMAGE swift validate.swift