Skip to content

Commit 357b566

Browse files
authored
Merge pull request #40 from kilnfi/chore/bump-deps
chore/bump deps
2 parents fcbbdbf + 890ad9a commit 357b566

File tree

5 files changed

+98
-158
lines changed

5 files changed

+98
-158
lines changed

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-go@v5
2121
with:
22-
go-version: 1.23
22+
go-version: 1.24
2323
- name: golangci-lint
2424
uses: golangci/golangci-lint-action@v6
2525
with:

.github/workflows/release.yaml

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Set up Go
6262
uses: actions/setup-go@v5
6363
with:
64-
go-version: 1.23
64+
go-version: 1.24
6565

6666
- name: Build ${{matrix.os}}-${{matrix.arch}} binary
6767
id: build
@@ -198,42 +198,4 @@ jobs:
198198
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:latest
199199
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ github.ref_name }}
200200
env:
201-
REGISTRY_IMAGE: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
202-
203-
helm-chart:
204-
if: false
205-
runs-on: ubuntu-latest
206-
needs: images
207-
steps:
208-
- name: Checkout
209-
uses: actions/checkout@v4
210-
211-
- name: Set up Helm
212-
uses: azure/[email protected]
213-
with:
214-
version: v3.16.4
215-
216-
- name: Verify Chart Version
217-
run: |
218-
TAG=$(echo ${{ github.ref_name }} | sed 's/v//')
219-
CHART_VERSION=$(yq -r .version ${{ env.CHART_DIRECTORY }}/${{ env.CHART_NAME }}/Chart.yaml)
220-
if [ "$TAG" != "${CHART_VERSION}" ]; then
221-
echo "Version mismatch: release tag ${TAG} does not match Chart.yaml version ${CHART_VERSION}"
222-
exit 1
223-
fi
224-
echo "CHART_VERSION=$CHART_VERSION" >> $GITHUB_ENV
225-
226-
- name: Helm Registry Login
227-
run: |
228-
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io --username ${{ env.USERNAME }} --password-stdin
229-
env:
230-
USERNAME: kilnfi
231-
232-
- name: 'Helm Package'
233-
id: helm-package
234-
run: |
235-
helm package ${{ env.CHART_DIRECTORY }}/${{ env.CHART_NAME }} --version $CHART_VERSION
236-
237-
- name: 'Helm Push'
238-
run: |
239-
helm push ./cardano-validator-watcher-$CHART_VERSION.tgz ${{ env.REGISTRY }}
201+
REGISTRY_IMAGE: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Builder
2-
ARG BUILDER=golang:1.23-alpine3.21
3-
ARG RUNNER=alpine:3.21
4-
ARG CARDANO_VERSION=10.1.3
2+
ARG BUILDER=golang:1.24-alpine3.21
3+
ARG RUNNER=alpine:3.22
4+
ARG CARDANO_VERSION=10.5.1
55
ARG CNCLI_VERSION=6.5.1
66

77
FROM ${BUILDER} AS builder

go.mod

Lines changed: 24 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,53 @@
11
module github.com/kilnfi/cardano-validator-watcher
22

3-
go 1.23
3+
go 1.24
44

55
replace github.com/mitchellh/mapstructure => github.com/go-viper/mapstructure v1.6.0
66

77
require (
88
github.com/DATA-DOG/go-sqlmock v1.5.2
99
github.com/blockfrost/blockfrost-go v0.3.0
10-
github.com/dgraph-io/ristretto/v2 v2.0.1
10+
github.com/dgraph-io/ristretto/v2 v2.2.0
1111
github.com/jmoiron/sqlx v1.4.0
12-
github.com/mattn/go-sqlite3 v1.14.24
13-
github.com/pressly/goose/v3 v3.24.1
14-
github.com/prometheus/client_golang v1.20.5
15-
github.com/spf13/cobra v1.8.1
16-
github.com/spf13/viper v1.19.0
12+
github.com/mattn/go-sqlite3 v1.14.30
13+
github.com/pressly/goose/v3 v3.24.3
14+
github.com/prometheus/client_golang v1.23.0
15+
github.com/spf13/cobra v1.9.1
16+
github.com/spf13/viper v1.20.1
1717
github.com/stretchr/testify v1.10.0
18-
golang.org/x/sync v0.10.0
18+
golang.org/x/sync v0.16.0
1919
)
2020

2121
require (
2222
github.com/beorn7/perks v1.0.1 // indirect
2323
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2424
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2525
github.com/dustin/go-humanize v1.0.1 // indirect
26-
github.com/fsnotify/fsnotify v1.8.0 // indirect
26+
github.com/fsnotify/fsnotify v1.9.0 // indirect
27+
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
2728
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
28-
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
29-
github.com/hashicorp/hcl v1.0.0 // indirect
29+
github.com/hashicorp/go-retryablehttp v0.7.8 // indirect
3030
github.com/inconshreveable/mousetrap v1.1.0 // indirect
31-
github.com/klauspost/compress v1.17.11 // indirect
3231
github.com/kylelemons/godebug v1.1.0 // indirect
33-
github.com/magiconair/properties v1.8.9 // indirect
3432
github.com/mfridman/interpolate v0.0.2 // indirect
35-
github.com/mitchellh/mapstructure v1.5.0 // indirect
3633
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
37-
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
38-
github.com/pkg/errors v0.9.1 // indirect
34+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
3935
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
40-
github.com/prometheus/client_model v0.6.1 // indirect
41-
github.com/prometheus/common v0.61.0 // indirect
42-
github.com/prometheus/procfs v0.15.1 // indirect
43-
github.com/sagikazarmark/locafero v0.6.0 // indirect
44-
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
36+
github.com/prometheus/client_model v0.6.2 // indirect
37+
github.com/prometheus/common v0.65.0 // indirect
38+
github.com/prometheus/procfs v0.17.0 // indirect
39+
github.com/sagikazarmark/locafero v0.10.0 // indirect
4540
github.com/sethvargo/go-retry v0.3.0 // indirect
46-
github.com/sourcegraph/conc v0.3.0 // indirect
47-
github.com/spf13/afero v1.11.0 // indirect
48-
github.com/spf13/cast v1.7.1 // indirect
49-
github.com/spf13/pflag v1.0.5 // indirect
41+
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
42+
github.com/spf13/afero v1.14.0 // indirect
43+
github.com/spf13/cast v1.9.2 // indirect
44+
github.com/spf13/pflag v1.0.7 // indirect
5045
github.com/stretchr/objx v0.5.2 // indirect
5146
github.com/subosito/gotenv v1.6.0 // indirect
5247
go.uber.org/multierr v1.11.0 // indirect
53-
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect
54-
golang.org/x/sys v0.29.0 // indirect
55-
golang.org/x/text v0.21.0 // indirect
56-
google.golang.org/protobuf v1.36.2 // indirect
57-
gopkg.in/ini.v1 v1.67.0 // indirect
48+
golang.org/x/exp v0.0.0-20250718183923-645b1fa84792 // indirect
49+
golang.org/x/sys v0.34.0 // indirect
50+
golang.org/x/text v0.27.0 // indirect
51+
google.golang.org/protobuf v1.36.6 // indirect
5852
gopkg.in/yaml.v3 v3.0.1 // indirect
5953
)

0 commit comments

Comments
 (0)