Skip to content

Commit 1afcead

Browse files
authored
Merge pull request firecracker-microvm#540 from kzys/gha-proto-tidy
Run "make proto" and "make tidy" on GitHub Actions
2 parents b17051d + 96844a8 commit 1afcead

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: ['ubuntu-18.04', 'ubuntu-20.04']
17-
go: ['1.13', '1.14', '1.15', '1.16']
17+
go: ['1.13', '1.14', '1.15', '1.16', '1.17']
1818
# Build all variants regardless of failures
1919
fail-fast: false
2020

@@ -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)