Skip to content

Commit

Permalink
run go generate on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Jul 12, 2021
1 parent 075dbea commit 8cb726d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/go-generate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on: [push, pull_request]
name: go generate

jobs:
gogenerate:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.16.x"
- name: Go information
run: |
go version
go env
- name: Run go generate
run: |
go generate ./...
git diff --exit-code

0 comments on commit 8cb726d

Please sign in to comment.