style(be):使用goimport 格式化代码并添加golangci

This commit is contained in:
1mtrue authored and dushixiang committed 2021-03-17 10:52:53 +08:00
1 parent 88b0200095
commit 5e7be397a5
40 files changed
+244 -124

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
- be-*
- dev
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.29