Skip to content

Bump codecov/codecov-action from 5.0.7 to 5.1.1 #167

Bump codecov/codecov-action from 5.0.7 to 5.1.1

Bump codecov/codecov-action from 5.0.7 to 5.1.1 #167

Workflow file for this run

name: test
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5.1.0
with:
go-version: '1.22.1'
- name: Check out code
uses: actions/checkout@v4.2.2
- name: Set up Git
run: |
git config --global user.email "action@github.com"
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/codecov-action@v5.1.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
file: coverage.out