chore: various config updates to CI (#322)

This commit is contained in:
Joe Chen
2022-05-29 17:04:41 +08:00
committed by GitHub
parent 842b9a946d
commit 7c569cc85f
4 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
name: Test name: Test
strategy: strategy:
matrix: matrix:
go-version: [ 1.15.x, 1.16.x, 1.17.x ] go-version: [ 1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x ]
platform: [ ubuntu-latest, macos-latest, windows-latest ] platform: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
+6
View File
@@ -1,4 +1,9 @@
linters-settings: linters-settings:
staticcheck:
checks: [
"all",
"-SA1019" # There are valid use cases of strings.Title
]
nakedret: nakedret:
max-func-lines: 0 # Disallow any unnamed return statement max-func-lines: 0 # Disallow any unnamed return statement
@@ -19,3 +24,4 @@ linters:
- rowserrcheck - rowserrcheck
- unconvert - unconvert
- goimports - goimports
- unparam
+1 -1
View File
@@ -24,7 +24,7 @@ Package ini provides INI file read and write functionality in Go.
## Installation ## Installation
The minimum requirement of Go is **1.12**. The minimum requirement of Go is **1.13**.
```sh ```sh
$ go get gopkg.in/ini.v1 $ go get gopkg.in/ini.v1
+7
View File
@@ -4,6 +4,13 @@ coverage:
project: project:
default: default:
threshold: 1% threshold: 1%
informational: true
patch:
defualt:
only_pulls: true
informational: true
comment: comment:
layout: 'diff' layout: 'diff'
github_checks: false