Skip to content

feat: support check empty content length #8

feat: support check empty content length

feat: support check empty content length #8

Workflow file for this run

name: Go Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23"
cache: true
- name: Get dependencies
run: go mod download
- name: Run tests
run: go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage reports
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true