Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

fix golangci-lint errors #12

fix golangci-lint errors

fix golangci-lint errors #12

Workflow file for this run

name: build
on:
push:
branches:
tags:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install go
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: build and test
run: go test -race -timeout=60s -covermode=atomic -coverprofile=$GITHUB_WORKSPACE/profile.cov ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: build docker image
run: docker-compose build