Skip to content

Bump codecov/codecov-action from 4.6.0 to 5.0.2 #165

Bump codecov/codecov-action from 4.6.0 to 5.0.2

Bump codecov/codecov-action from 4.6.0 to 5.0.2 #165

Workflow file for this run

name: test
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/[email protected]
with:
go-version: '1.22.1'
- name: Check out code
uses: actions/[email protected]
- name: Set up Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
- name: Test and generate coverage report
run: go test -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
file: coverage.out