diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a05e0ce..107eb45 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,7 +15,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version-file: go.mod - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4 with: diff --git a/Dockerfile b/Dockerfile index 394f349..caf9ee3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19 AS build +FROM golang:1.21 AS build WORKDIR /app COPY . /app RUN make NAME=mackerel-sql-metric-collector diff --git a/go.mod b/go.mod index e5d5cce..5129f16 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/mackerelio-labs/mackerel-sql-metric-collector -go 1.19 +go 1.21 require ( github.com/DATA-DOG/go-sqlmock v1.5.0