forked from rook/rook
Add a new github workflow to verify with mod check. Signed-off-by: Sébastien Han <seb@redhat.com>
21 lines
367 B
YAML
21 lines
367 B
YAML
name: Codegen
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
codegen:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v1
|
|
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.13
|
|
|
|
- name: run codegen
|
|
run: GOPATH=$(go env GOPATH) make codegen
|
|
|
|
- name: validate codegen
|
|
run: hack/validate_modified_files.sh codegen
|
|
|