.github: Bump actions/checkout from 3 to 4 #20
Workflow file for this run
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-generated-files | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
validate-generated-files: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v2 | |
- name: Set up Buf | |
uses: bufbuild/buf-setup-action@v1 | |
- name: Check generated files | |
run: | | |
export PATH=$PATH:$(go env GOPATH)/bin | |
make install-tools | |
make generate | |
git diff --exit-code --numstat |