diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 2946108..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,38 +0,0 @@ -version: 2 -jobs: - build: - docker: - - image: circleci/golang:1.15 - steps: - - checkout - - run: - name: build - command: go build - - run: - name: build ./example - command: go build -o example-test-build ./example - - run: - name: tests - command: | - go test -cpu 1 -v -race ./... - go test -cpu 2 -v -race ./... - go test -cpu 4 -v -race ./... - - run: - name: staticcheck - command: | - go get honnef.co/go/tools/cmd/staticcheck - staticcheck ./... - - run: - name: gofmt - command: | - gofmt -l -s -d . - - run: - name: goimports - command: | - go get golang.org/x/tools/cmd/goimports - goimports -l -d . - - run: - name: errcheck - command: | - go get github.com/kisielk/errcheck - errcheck -blank -asserts ./... diff --git a/README.md b/README.md index 159e7ea..3dcb554 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Go Reference](https://pkg.go.dev/badge/github.com/judwhite/go-svc.svg)](https://pkg.go.dev/github.com/judwhite/go-svc) [![MIT License](https://img.shields.io/badge/license-MIT-007d9c)](https://github.com/judwhite/go-svc/blob/main/LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/judwhite/go-svc)](https://goreportcard.com/report/github.com/judwhite/go-svc) -[![Build Status](https://circleci.com/gh/judwhite/go-svc.svg?style=svg )](https://circleci.com/gh/judwhite/go-svc) +[![Build Status](https://github.com/judwhite/go-svc/workflows/tests/badge.svg)](https://github.com/judwhite/go-svc/actions?query=workflow%3Atests) Go Windows Service wrapper that plays nice with Linux. Windows tests [here](https://github.com/judwhite/go-svc/blob/main/svc_windows_test.go).