ci: add go test

This commit is contained in:
MengYX 2021-12-14 04:11:13 +08:00
parent 9390b45207
commit 62f7991a64
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

View File

@ -50,6 +50,9 @@ jobs:
echo "::set-output name=short_sha::$(git rev-parse --short HEAD)" echo "::set-output name=short_sha::$(git rev-parse --short HEAD)"
echo "::set-output name=git_tag::$(git describe --tags --always)" echo "::set-output name=git_tag::$(git describe --tags --always)"
- name: Test
run: go test -v ./...
- name: Build - name: Build
env: env:
GOOS: ${{ matrix.GOOS }} GOOS: ${{ matrix.GOOS }}