From 718e225653244f2f4513392b7b45644e0648241e Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Sun, 29 May 2022 16:56:34 +0800 Subject: [PATCH 1/5] Update go.yml --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ea1947f..540fdd1 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -38,7 +38,7 @@ jobs: name: Test strategy: matrix: - go-version: [ 1.15.x, 1.16.x, 1.17.x ] + go-version: [ 1.12.x, 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: From 09df223c27a02a296cb3c7be8c078971395b5822 Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Sun, 29 May 2022 16:58:21 +0800 Subject: [PATCH 2/5] Update codecov.yml --- codecov.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/codecov.yml b/codecov.yml index 31f646e..e02ec84 100644 --- a/codecov.yml +++ b/codecov.yml @@ -4,6 +4,13 @@ coverage: project: default: threshold: 1% + informational: true + patch: + defualt: + only_pulls: true + informational: true comment: layout: 'diff' + +github_checks: false From 65abe458240a38ca0f009b3537e10de3b23b98d5 Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Sun, 29 May 2022 16:58:49 +0800 Subject: [PATCH 3/5] Update .golangci.yml --- .golangci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index b7256ba..631e369 100644 --- a/.golangci.yml +++ b/.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 @@ -19,3 +24,4 @@ linters: - rowserrcheck - unconvert - goimports + - unparam From 83750a1d4e42dfe711a19556b6aec50c4be3c66e Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Sun, 29 May 2022 17:00:36 +0800 Subject: [PATCH 4/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b57eb0..30606d9 100644 --- a/README.md +++ b/README.md @@ -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 From 658b3ef1a3af5c15134d23cbf126b53841a7699a Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Sun, 29 May 2022 17:00:55 +0800 Subject: [PATCH 5/5] Update go.yml --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 540fdd1..e7c98bf 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -38,7 +38,7 @@ jobs: name: Test strategy: matrix: - go-version: [ 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.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: