Ensure correct pipeline clean-up from invalid node in config file. Prevent pipeline service rerunning already failed pipeline. #2876
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@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Check generated files | |
env: | |
BUF_TOKEN: ${{ secrets.BUF_TOKEN }} | |
run: | | |
export PATH=$PATH:$(go env GOPATH)/bin | |
make install-tools generate proto-generate | |
git diff | |
git diff --exit-code --numstat |