Skip to content

Bump codecov/codecov-action from 4.4.1 to 4.5.0 #128

Bump codecov/codecov-action from 4.4.1 to 4.5.0

Bump codecov/codecov-action from 4.4.1 to 4.5.0 #128

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