forked from rook/rook
The rest of the CI already uses 1.15 so let's homogenize that. Signed-off-by: Sébastien Han <seb@redhat.com>
24 lines
423 B
YAML
24 lines
423 B
YAML
name: Mod check
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '**.go'
|
|
|
|
jobs:
|
|
modcheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v1
|
|
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.15
|
|
|
|
- name: run mod check
|
|
run: GOPATH=$(go env GOPATH) make -j $(nproc) mod.check
|
|
|
|
- name: validate modcheck
|
|
run: tests/scripts/validate_modified_files.sh modcheck
|
|
|