Skip to content

Merge pull request #79 from sibprogrammer/dependabot/go_modules/githu… #187

Merge pull request #79 from sibprogrammer/dependabot/go_modules/githu…

Merge pull request #79 from sibprogrammer/dependabot/go_modules/githu… #187

Workflow file for this run

name: build
on:
push:
paths:
- '**.go'
- 'go.mod'
- 'build.yml'
pull_request:
paths:
- '**.go'
- 'go.mod'
- 'build.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ^1.21
- name: Build
run: go build
- name: Test
run: go test -coverprofile=coverage.txt -covermode=atomic -v ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3