Skip to content

Migrate internal logic to package #3

Migrate internal logic to package

Migrate internal logic to package #3

Workflow file for this run

name: test
on:
push:
branches:
- "**"
jobs:
go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Get dependencies
run: go mod download
- name: Test
run: go test -race -covermode=atomic -cover ./...
go-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Vet
run: go vet ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: "v1.54.0"