diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28f8ae8..7280336 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 'stable' + - name: Gather dependencies + run: go mod download - name: Run coverage - run: go test -race -coverprofile=coverage.txt -covermode=atomic + run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }} + with: + token: ${{ secrets.CODECOV_ORG_TOKEN }}