Skip to content

Commit 7c569cc

Browse files
authored
chore: various config updates to CI (#322)
1 parent 842b9a9 commit 7c569cc

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

.github/workflows/go.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
name: Test
3939
strategy:
4040
matrix:
41-
go-version: [ 1.15.x, 1.16.x, 1.17.x ]
41+
go-version: [ 1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x ]
4242
platform: [ ubuntu-latest, macos-latest, windows-latest ]
4343
runs-on: ${{ matrix.platform }}
4444
steps:

.golangci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
linters-settings:
2+
staticcheck:
3+
checks: [
4+
"all",
5+
"-SA1019" # There are valid use cases of strings.Title
6+
]
27
nakedret:
38
max-func-lines: 0 # Disallow any unnamed return statement
49

@@ -19,3 +24,4 @@ linters:
1924
- rowserrcheck
2025
- unconvert
2126
- goimports
27+
- unparam

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Package ini provides INI file read and write functionality in Go.
2424

2525
## Installation
2626

27-
The minimum requirement of Go is **1.12**.
27+
The minimum requirement of Go is **1.13**.
2828

2929
```sh
3030
$ go get gopkg.in/ini.v1

codecov.yml

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ coverage:
44
project:
55
default:
66
threshold: 1%
7+
informational: true
8+
patch:
9+
defualt:
10+
only_pulls: true
11+
informational: true
712

813
comment:
914
layout: 'diff'
15+
16+
github_checks: false

0 commit comments

Comments
 (0)