From 8fcaee063debc46d69fc604b0d8760dcabf7a50b Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 25 Sep 2022 23:10:17 -0400 Subject: [PATCH] add go test to goreleaser --- .goreleaser.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a39f536..abba285 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -3,8 +3,8 @@ project_name: casaos-user-service before: hooks: - # You may remove this if you don't use go modules. - go mod tidy + - go test -v ./... builds: - id: casaos-user-service-amd64 binary: build/sysroot/usr/bin/casaos-user-service @@ -131,15 +131,15 @@ archives: files: - build/sysroot/etc/**/* checksum: - name_template: 'checksums.txt' + name_template: "checksums.txt" snapshot: name_template: "{{ incpatch .Version }}-snapshot" changelog: sort: asc filters: exclude: - - '^docs:' - - '^test:' + - "^docs:" + - "^test:" release: github: owner: IceWhaleTech