Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc996be

Browse files
committed
add golang lint
1 parent8e5fabe commitdc996be

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

‎.github/workflows/test.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on:ubuntu-latest
1212
steps:
1313

14-
-name:Set up Go 1.13
14+
-name:Set up Go 1.16
1515
uses:actions/setup-go@v1
1616
with:
17-
go-version:1.13
17+
go-version:1.16
1818
id:go
1919

2020
-name:Check out code into the Go module directory

‎.golangci.yml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
output:
2+
format:colored-line-number
3+
print-issued-lines:true
4+
print-linter-name:true
5+
uniq-by-line:true
6+
path-prefix:""
7+
sort-results:false
8+
9+
linters:
10+
disable-all:true
11+
fast:false
12+
enable:
13+
-unused
14+
-typecheck

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp