Merge pull request #566 from saad-ali/protoBufTo133 #13
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: Build Test | |
on: | |
pull_request: {} | |
push: {} | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ^1.19 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Build Test | |
run: | | |
touch spec.md # Ensure its timestamp is newer than any generated files | |
make | |
git diff --exit-code || (echo "Generated files are out of date. Please run 'make' and commit the changes." && exit 1) |