mirror of
https://github.com/go-ini/ini.git
synced 2026-06-19 21:46:45 +02:00
chore: various config updates to CI (#322)
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user