mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-28 03:21:27 +00:00
Chore: format check
This commit is contained in:
parent
83bab5dd90
commit
068d67cd53
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
@ -40,5 +40,8 @@ jobs:
|
||||||
path: resources
|
path: resources
|
||||||
key: xray-geodat-
|
key: xray-geodat-
|
||||||
enableCrossOsArchive: true
|
enableCrossOsArchive: true
|
||||||
|
- name: Format
|
||||||
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then echo "::error ::Please run 'gofmt -w .' on the project root" && exit 1; fi
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -timeout 1h -v ./...
|
run: go test -timeout 1h -v ./...
|
||||||
|
|
Loading…
Reference in a new issue