diff --git a/.github/workflows/ci.yml b/.github/workflows/main.yml similarity index 96% rename from .github/workflows/ci.yml rename to .github/workflows/main.yml index fceb983..d99cea8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/main.yml @@ -41,6 +41,7 @@ jobs: - name: go test run: go test -race -coverprofile=coverage.txt ./... - name: upload to codecov + if: github.event_name == 'push' uses: codecov/codecov-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }}