Skip to content

Refactor packages and tests #30

Refactor packages and tests

Refactor packages and tests #30

Workflow file for this run

on:
push:
branches:
- master
pull_request:
name: Test
jobs:
lint:
name: runner / golangci-lint
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4.2.2
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2.6.2
test:
strategy:
matrix:
go-version: [1.22.5, 1.22.x, 1.23.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Check out
uses: actions/checkout@v4.2.2
- name: go test
run: go test -v -race -coverprofile=profile.cov ./...
#- name: Send coverage
# uses: shogo82148/actions-goveralls@v1.8.0
# with:
# path-to-profile: profile.cov