mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
Lint: check Go modules before test (#1220)
This commit is contained in:
parent
5ba50d6951
commit
c91f98c60d
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -37,6 +37,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Check Go modules
|
||||||
|
run: |
|
||||||
|
go mod tidy
|
||||||
|
git diff --exit-code go.mod go.sum
|
||||||
|
go mod verify
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
export PATH=$(go env GOPATH)/bin:${PATH}
|
export PATH=$(go env GOPATH)/bin:${PATH}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user