Files
my-rook-config/.github/workflows/mod-check.yml
T
Sébastien Han 58c8de95be ci: add modcheck github workflow
Add a new github workflow to verify with mod check.

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-08-27 12:15:41 +02:00

21 lines
388 B
YAML

name: Mod check
on: [pull_request]
jobs:
modcheck:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v1
- uses: actions/setup-go@v2
with:
go-version: 1.13
- name: run mod check
run: GOPATH=$(go env GOPATH) make -j $(nproc) mod.check
- name: validate modcheck
run: hack/validate_modified_files.sh modcheck