Merge pull request #85 from Youngcheol-Shin/feature/add-pilot-things-… #148
This file contains 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: Validate Webhook Templates | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
validate: | |
name: Validate Webhook Templates | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "~1.20" | |
cache-dependency-path: "schema/go.sum" | |
- name: Build validate tool | |
run: | | |
cd schema | |
go build -o ../bin/validate ./cmd/validate.go | |
- name: Validate webhook templates | |
run: ./bin/validate |