diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index b9850e0..0eb4189 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -16,11 +16,11 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: stable + go-version: '1.25' - name: golangci-lint uses: golangci/golangci-lint-action@v8 with: - version: v2.1 + version: v2.5.0 skip-cache: true build: @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: stable + go-version: '1.25' - name: Get dependencies run: go mod download - name: Build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 18a0995..93e9135 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: stable + go-version: '1.25' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 diff --git a/Containerfile b/Containerfile index 324fc89..004b4a7 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ FROM golang:1.25 # Install dependencies -RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1.6 +RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.5.0 RUN go install github.com/goreleaser/goreleaser/v2@latest WORKDIR /app \ No newline at end of file