Skip to content

Commit

Permalink
Update setup-go cache path
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansmares committed May 5, 2023
1 parent 03a05eb commit 0bdd5ca
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,24 @@ name: Validate Webhook Templates
on:
push:
branches:
- master
- 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'
- name: Build validate tool
run: |
cd schema
go build -o ../bin/validate ./cmd/validate.go
- name: Validate webhook templates
run: ./bin/validate
- 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

0 comments on commit 0bdd5ca

Please sign in to comment.