-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Clean Generation check (#103)
* Update Clean Generation check Run the check with the latest v1.20 version of Go. Run the check for all pushes to `main` as well as for PRs. * Fix generated code * Update .github/workflows/gen-check.yaml Co-authored-by: Anthony Mirabella <a9@aneurysm9.com> --------- Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
- Loading branch information
Showing
3 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
name: Clean Generation | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
env: | ||
# Default minimum version of Go to support. | ||
DEFAULT_GO_VERSION: 1.17 | ||
jobs: | ||
generate-and-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ env.DEFAULT_GO_VERSION }} | ||
go-version: "~1.20.2" | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Generate | ||
run: make clean protobuf | ||
- name: Check Clean Work Tree | ||
run: make check-clean-work-tree | ||
run: make check-clean-work-tree |
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
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