diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fca352d..86056c9 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -24,14 +24,10 @@ jobs: with: go-version: '1.21' - - name: Build - run: cd src && go build -v -o ../bin/dns-scout main.go && cd - + - name: Build and Test + run: | + cd src + go build -o ../bin/your_binary + go test ./... + cd - - - name: Test - run: cd src && go test -v ./... && cd - - -# - name: Install gosec -# run: go install github.com/securego/gosec/v2/cmd/gosec@latest - -# - name: Security Scan -# run: gosec ./...