Skip to content

Commit

Permalink
chore(deps): bump Go to 1.23.5 (#224)
Browse files Browse the repository at this point in the history
* chore(deps): bump Go to 1.23.5

also bump deps

* update go in GH actions

* disable some checks

* use dorny/paths-filter

* conditional input

* fix filter

* attempt to fix ci-fast
  • Loading branch information
melekes authored Jan 29, 2025
1 parent 4cf60c7 commit 253219f
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 33 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/ci-fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@ name: Test fast (no changes to Dockerfile)

on:
pull_request:
paths-ignore:
- "tools/**"
merge_group:
push:
branches:
- main
paths-ignore:
- "tools/**"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -22,16 +18,30 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Configure Git Safe Directory
run: git config --global --add safe.directory /__w/cometbft-db/cometbft-db

- id: filter
uses: dorny/paths-filter@v3
with:
filters: |
tools:
- "tools/**"
- run: echo "GO_VERSION=$(cat .github/workflows/go-version.env | grep GO_VERSION | cut -d '=' -f2)" >> $GITHUB_ENV
if: steps.filter.outputs.tools == 'false'

- uses: actions/setup-go@v5
if: steps.filter.outputs.tools == 'false'
with:
go-version: ${{ env.GO_VERSION }}

- name: test & coverage report creation
if: steps.filter.outputs.tools == 'false'
run: |
NON_INTERACTIVE=1 make test-all-with-coverage
- uses: codecov/codecov-action@v4
if: steps.filter.outputs.tools == 'false'
with:
file: ./coverage.txt
2 changes: 1 addition & 1 deletion .github/workflows/go-version.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# .github/go-version.env
GO_VERSION=1.23.1
GO_VERSION=1.23.5
8 changes: 4 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ linters:
- contextcheck
- cyclop
- dupword
- errorlint
- errname
- err113
- errname
- errorlint
- exhaustive
- exhaustruct
- execinquery
- forbidigo
- forcetypeassert
- funlen
Expand All @@ -23,7 +22,6 @@ linters:
- gocognit
- gocyclo
- godox
- gomnd
- interfacebloat
- intrange
- ireturn
Expand All @@ -35,8 +33,10 @@ linters:
- nlreturn
- nonamedreturns
- predeclared
- recvcheck
- tagliatelle
- testifylint
- usetesting
- varnamelen
- wrapcheck
- wsl
Expand Down
46 changes: 24 additions & 22 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,54 +1,56 @@
module github.com/cometbft/cometbft-db

go 1.23.1
go 1.23.5

require (
github.com/cockroachdb/pebble v1.1.2
github.com/dgraph-io/badger/v4 v4.3.1
github.com/cockroachdb/pebble v1.1.4
github.com/dgraph-io/badger/v4 v4.5.1
github.com/google/btree v1.1.3
github.com/jmhodges/levigo v1.0.0
github.com/linxGnu/grocksdb v1.9.3
github.com/linxGnu/grocksdb v1.9.8
github.com/stretchr/testify v1.10.0
github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca
go.etcd.io/bbolt v1.3.11
)

require (
github.com/DataDog/zstd v1.4.5 // indirect
github.com/DataDog/zstd v1.5.6 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cockroachdb/errors v1.11.3 // indirect
github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
github.com/cockroachdb/fifo v0.0.0-20240816210425-c5d0cb0b6fc0 // indirect
github.com/cockroachdb/logtags v0.0.0-20241215232642-bb51bb14a506 // indirect
github.com/cockroachdb/redact v1.1.5 // indirect
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dgraph-io/ristretto v1.0.0 // indirect
github.com/dgraph-io/ristretto/v2 v2.1.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/getsentry/sentry-go v0.27.0 // indirect
github.com/getsentry/sentry-go v0.31.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/flatbuffers v24.3.25+incompatible // indirect
github.com/google/flatbuffers v25.1.24+incompatible // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/klauspost/compress v1.17.10 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_golang v1.12.0 // indirect
github.com/prometheus/client_model v0.2.1-0.20210607210712-147c58e9608a // indirect
github.com/prometheus/common v0.32.1 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/prometheus/client_golang v1.20.5 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.62.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/rogpeppe/go-internal v1.13.1 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect
golang.org/x/net v0.29.0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/text v0.18.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/sys v0.29.0 // indirect
golang.org/x/text v0.21.0 // indirect
google.golang.org/protobuf v1.36.4 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

Expand Down
Loading

0 comments on commit 253219f

Please sign in to comment.