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:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Check Go modules
|
||||
run: |
|
||||
go mod tidy
|
||||
git diff --exit-code go.mod go.sum
|
||||
go mod verify
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
export PATH=$(go env GOPATH)/bin:${PATH}
|
||||
|
Loading…
x
Reference in New Issue
Block a user