这是indexloc提供的服务,不要输入任何密码
Skip to content

chore: move utilities to subpackage (#3) #15

chore: move utilities to subpackage (#3)

chore: move utilities to subpackage (#3) #15

Workflow file for this run

name: Unit tests
on:
push:
jobs:
lint:
name: Lint and test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Format
run: diff -u <(echo -n) <(gofmt -d -s .)
- name: Vet
run: go vet ./...
- name: Lint
uses: golangci/golangci-lint-action@v8
with:
version: latest
- name: Test
run: go test -v ./...