1
0
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:
Loyalsoldier 2021-08-21 14:45:38 +08:00 committed by GitHub
parent 5ba50d6951
commit c91f98c60d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}