Skip to content

Merge pull request #95 from sibprogrammer/dependabot/go_modules/githu… #252

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

Merge pull request #95 from sibprogrammer/dependabot/go_modules/githu… #252

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@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ^1.23
- 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@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}