diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index eab5aba..2795fc7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,8 +11,10 @@ jobs: fetch-depth: 2 - uses: actions/setup-go@v5 with: - go-version: '1.18' + go-version: "1.18" - name: Run coverage run: go test -race -v -coverprofile=coverage.txt -covermode=atomic ./... - - name: Upload coverage to Codecov - run: bash <(curl -s https://codecov.io/bash) + - name: codecov + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }}