mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
gofmt and goimports
This commit is contained in:
parent
57edf81057
commit
eba57ca357
@ -11,6 +11,8 @@ script:
|
||||
--enable=ineffassign \
|
||||
--enable=gosimple \
|
||||
--enable=staticcheck \
|
||||
--enable=gofmt \
|
||||
--enable=goimports \
|
||||
./...
|
||||
after_success:
|
||||
test ! -z "$TRAVIS_TAG" && go run main.go
|
||||
|
@ -1,8 +1,9 @@
|
||||
package git
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestCurrentTag(t *testing.T) {
|
||||
|
@ -2,8 +2,9 @@ package release
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestDescription(t *testing.T) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user