Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactoring saveFn type #43

refactoring saveFn type

refactoring saveFn type #43

Workflow file for this run

name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.25.x'
- name: Lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.4.0
- name: Test
run: go test -race -covermode atomic -coverprofile=covprofile -v ./...
- name: Install Goveralls
run: go install github.com/mattn/[email protected]
- name: Upload Coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -ignore=cmd/**/*.go -coverprofile=covprofile -service=github