Skip to content

Merge pull request #7 from goravel/bowen/add-GetBytes #15

Merge pull request #7 from goravel/bowen/add-GetBytes

Merge pull request #7 from goravel/bowen/add-GetBytes #15

Workflow file for this run

name: Codecov
on:
push:
branches:
- master
pull_request:
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: Install dependencies
run: go mod tidy
- name: Run tests with coverage
run: go test -v -coverprofile="coverage.out" ./...
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.out
token: ${{ secrets.CODECOV }}