1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-25 19:45:38 -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

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}