mirror of
https://github.com/KaySar12/NextZen-UserService.git
synced 2025-10-06 19:59:42 +07:00
add go test to goreleaser
This commit is contained in:
+4
-4
@@ -3,8 +3,8 @@
|
|||||||
project_name: casaos-user-service
|
project_name: casaos-user-service
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
# You may remove this if you don't use go modules.
|
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
|
- go test -v ./...
|
||||||
builds:
|
builds:
|
||||||
- id: casaos-user-service-amd64
|
- id: casaos-user-service-amd64
|
||||||
binary: build/sysroot/usr/bin/casaos-user-service
|
binary: build/sysroot/usr/bin/casaos-user-service
|
||||||
@@ -131,15 +131,15 @@ archives:
|
|||||||
files:
|
files:
|
||||||
- build/sysroot/etc/**/*
|
- build/sysroot/etc/**/*
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: "checksums.txt"
|
||||||
snapshot:
|
snapshot:
|
||||||
name_template: "{{ incpatch .Version }}-snapshot"
|
name_template: "{{ incpatch .Version }}-snapshot"
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
filters:
|
filters:
|
||||||
exclude:
|
exclude:
|
||||||
- '^docs:'
|
- "^docs:"
|
||||||
- '^test:'
|
- "^test:"
|
||||||
release:
|
release:
|
||||||
github:
|
github:
|
||||||
owner: IceWhaleTech
|
owner: IceWhaleTech
|
||||||
|
|||||||
Reference in New Issue
Block a user