Skip to content

init code

init code #1

Workflow file for this run

name: test
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: clone
uses: actions/checkout@v4
- name: install go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
check-latest: true
# - name: install
# run: |
# go get github.com/mattn/goveralls
- name: test
run: |
go test -race -covermode=atomic -coverprofile=coverage.out ./...
# - name: coverage
# uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: coverage.out