coverage.yml
This file
Path
.github/workflows/coverage.yml
29 lines · 643 bytes · YAML
Last changed by
chore(deps): bump codecov/codecov-action from 5 to 6 in the all group (#1650)dependabot[bot]before adoptionada31e3
History of this fileTake it
123456789101112131415161718192021222324252627282930name: coverageon: [push, pull_request]
jobs: coverage: strategy: matrix: go-version: [^1] os: [ubuntu-latest] runs-on: ${{ matrix.os }} env: GO111MODULE: "on" steps: - name: Install Go uses: actions/setup-go@v6 with: go-version: ${{ matrix.go-version }}
- name: Checkout code uses: actions/checkout@v6
- name: Coverage run: | go test -race -covermode=atomic -coverprofile=coverage.txt ./...
- uses: codecov/codecov-action@v6 with: file: ./coverage.txt token: ${{ secrets.CODECOV_TOKEN }}