mirror of
https://github.com/oneclickvirt/backtrace.git
synced 2026-11-24 23:39:41 +08:00
fix:删除无效测试
This commit is contained in:
1 parent
50b411fa41
commit
d8148ff279
2 files changed
+7
-3
No files matched your search
@@ -20,14 +20,17 @@ jobs:
|
||||
go-version: ${{ matrix.go }}
|
||||
|
||||
- name: Test
|
||||
run: go test ./... -coverprofile=coverage.txt
|
||||
run: |
|
||||
# Run all tests without generating a combined coverage profile
|
||||
set -euo pipefail
|
||||
go test ./...
|
||||
|
||||
- name: Create Tag
|
||||
if: success()
|
||||
run: |
|
||||
git config --global user.name 'github-actions'
|
||||
git config --global user.email 'github-actions@github.com'
|
||||
TAG="v0.0.7-$(date +'%Y%m%d%H%M%S')"
|
||||
TAG="v0.0.8-$(date +'%Y%m%d%H%M%S')"
|
||||
git tag $TAG
|
||||
git push origin $TAG
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
|
||||
Reference in new issue
Block a user