Skip to content

Merge pull request #20 from chrisdoc/dependabot/github_actions/docker… #95

Merge pull request #20 from chrisdoc/dependabot/github_actions/docker…

Merge pull request #20 from chrisdoc/dependabot/github_actions/docker… #95

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.22']
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go mod download
- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}