Skip to content

Commit 072de03

Browse files
dependabot[bot]Unique-Divinedependabot[bot]
authored
ci(deps): Enable Codecov and bump golangci/golangci-lint-action from 4 to 5 (#1854)
* chore(deps): Bump golangci/golangci-lint-action from 4 to 5 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4 to 5. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v4...v5) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * ci: add CODECOV_TOKEN env var to secrets * ci settings * Updated changelog - dependabot * refactor: run just fmt --------- Signed-off-by: Unique-Divine <[email protected]> Co-authored-by: Unique-Divine <[email protected]> Co-authored-by: dependabot[bot] <[email protected]>
1 parent 5fa6bc7 commit 072de03

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.github/codecov.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,13 @@ coverage:
2222
project:
2323
default:
2424
if_not_found: success
25-
if_ci_failed: error
26-
target: auto
25+
target: 66%
2726
threshold: 1% # Allow coverage to drop by X%, posting a success status.
2827
# removed_code_behavior: Takes values [off, removals_only, adjust_base]
2928
removed_code_behavior: adjust_base
3029
patch:
3130
default:
32-
target: 70%
31+
target: 69%
3332

3433
comment: # this is a top-level key
3534
layout: " diff, flags, files"

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
key: go-mod-cache-${{ hashFiles('**/go.sum') }}
5050

5151
- name: golangci-lint
52-
uses: golangci/golangci-lint-action@v4
52+
uses: golangci/golangci-lint-action@v5
5353
with:
5454
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
5555
version: v1.54.2

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,5 @@ jobs:
5252

5353
- name: "Upload coverage reports to Codecov"
5454
uses: codecov/codecov-action@v4
55+
env:
56+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
111111
- Bump `golang.org/x/net` from 0.0.0-20220607020251-c690dde0001d to 0.23.0 in /geth ([#1849](https://github.com/NibiruChain/nibiru/pull/1849))
112112
- Bump `golang.org/x/net` from 0.20.0 to 0.23.0 ([#1850](https://github.com/NibiruChain/nibiru/pull/1850))
113113
- Bump `github.com/supranational/blst` from 0.3.8-0.20220526154634-513d2456b344 to 0.3.11 ([#1851](https://github.com/NibiruChain/nibiru/pull/1851))
114+
- Bump `golangci/golangci-lint-action` from 4 to 5 ([#1854](https://github.com/NibiruChain/nibiru/pull/1854))
114115

115116
## [v1.2.0](https://github.com/NibiruChain/nibiru/releases/tag/v1.2.0) - 2024-03-28
116117

x/oracle/types/errors.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ package types
22

33
import (
44
"fmt"
5+
"sync/atomic"
56

67
"github.com/cometbft/cometbft/crypto/tmhash"
78

8-
"sync/atomic"
9-
109
sdkerrors "cosmossdk.io/errors"
1110
)
1211

0 commit comments

Comments
 (0)