Skip to content

Merge pull request #15 from dimuska139/go-mod-fix #2

Merge pull request #15 from dimuska139/go-mod-fix

Merge pull request #15 from dimuska139/go-mod-fix #2

Workflow file for this run

name: Run tests and upload coverage
on:
push
jobs:
build:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
- name: Install dependencies
run: go mod download
- name: Run tests with coverage
run: go test -v -coverprofile=coverage.txt ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: dimuska139/go-email-normalizer