Skip to content

Commit 96844a8

Browse files
committed
Run "make proto" and "make tidy" on GitHub Actions
GitHub Actions can have multiple Go versions on multiple Linux distros easily, compared to BuildKite. Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent c89b8f2 commit 96844a8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,12 @@ jobs:
4444
- run: make
4545
- run: make lint
4646
- run: make test
47+
- run: |
48+
make tidy
49+
git diff --exit-code
50+
# The result of "go mod tidy" is different since Go 1.16.
51+
# We will use the old result until we update BuildKite and other environments.
52+
if: matrix.go < '1.16'
53+
- run: |
54+
make proto
55+
git diff --exit-code

0 commit comments

Comments
 (0)