Skip to content

Add more unit test case #105

Add more unit test case

Add more unit test case #105

Workflow file for this run

name: golangci-lint
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.18
- uses: actions/checkout@v3
- name: golangci-lint core
uses: golangci/golangci-lint-action@v3
with:
version: v1.53.3
working-directory: ./core
args: --timeout=10m --out-format=colored-line-number ./...
skip-cache: true
- name: golangci-lint server
uses: golangci/golangci-lint-action@v3
with:
version: v1.53.3
working-directory: ./server
args: --timeout=10m --out-format=colored-line-number ./...
skip-cache: true