Skip to content

Update ci.yml

Update ci.yml #83

Workflow file for this run

name: build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.23
- name: build
run: go build -v ./...
- name: test
run: go test -v -coverprofile=profile.cov ./...
- name: send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov