Skip to content

Commit

Permalink
chore: various config updates to CI (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
unknwon committed May 29, 2022
1 parent 842b9a9 commit 7c569cc
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Expand Up @@ -38,7 +38,7 @@ jobs:
name: Test
strategy:
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 ]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
6 changes: 6 additions & 0 deletions .golangci.yml
@@ -1,4 +1,9 @@
linters-settings:
staticcheck:
checks: [
"all",
"-SA1019" # There are valid use cases of strings.Title
]
nakedret:
max-func-lines: 0 # Disallow any unnamed return statement

Expand All @@ -19,3 +24,4 @@ linters:
- rowserrcheck
- unconvert
- goimports
- unparam
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -24,7 +24,7 @@ Package ini provides INI file read and write functionality in Go.

## Installation

The minimum requirement of Go is **1.12**.
The minimum requirement of Go is **1.13**.

```sh
$ go get gopkg.in/ini.v1
Expand Down
7 changes: 7 additions & 0 deletions codecov.yml
Expand Up @@ -4,6 +4,13 @@ coverage:
project:
default:
threshold: 1%
informational: true
patch:
defualt:
only_pulls: true
informational: true

comment:
layout: 'diff'

github_checks: false

0 comments on commit 7c569cc

Please sign in to comment.