From fcd31d76551b41ca3a37bf168439db3cad08c5fc Mon Sep 17 00:00:00 2001 From: Charlie Moad Date: Tue, 29 Sep 2020 15:14:31 -0400 Subject: [PATCH] codecov action --- .github/workflows/go.yml | 4 ++-- .travis.yml | 13 ------------- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 99152f2..baea34b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -29,5 +29,5 @@ jobs: - name: Test run: go test -race -coverprofile=coverage.txt -covermode=atomic - - name: CodeCov - run: bash <(curl -s https://codecov.io/bash) + - name: Upload CodeCov + uses: codecov/codecov-action@v1 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index dec8054..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: go - -go: - - "1.x" - -before_install: - - go get -t -v ./... - -script: - - go test -race -coverprofile=coverage.txt -covermode=atomic - -after_success: - - bash <(curl -s https://codecov.io/bash) \ No newline at end of file