From 8b48c98311b7397e971248e5fb69e5cc8118ffb5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 23:26:57 +0000 Subject: [PATCH] chore(deps): update all --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/release.yml | 2 +- Dockerfile | 4 ++-- go.mod | 22 +++++++++++----------- tool/docker-protoc/Dockerfile | 4 ++-- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88830ea8..997ebb72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,16 +11,16 @@ jobs: docker-build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v2.7.0 - name: Build the Docker image run: docker build . --file Dockerfile golangci-lint: name: golangci-lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v2.7.0 - name: lint - uses: golangci/golangci-lint-action@v3.2.0 + uses: golangci/golangci-lint-action@v3.7.1 with: version: v1.28 github-token: ${{ secrets.GITHUB_TOKEN }} @@ -71,12 +71,12 @@ jobs: # - 1.13 - 1.14 steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v2.7.0 - name: Install Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.golang }} - - uses: actions/cache@v3.0.4 + - uses: actions/cache@v3.3.3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.golang }}-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3f06d802..fe9f44e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ jobs: semantic-release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v2.7.0 - uses: codfish/semantic-release-action@v1 if: github.ref == 'refs/heads/master' env: diff --git a/Dockerfile b/Dockerfile index 9a4d2904..f7ca751f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG VCS_REF ARG VERSION # build -FROM golang:1.17.7-alpine as builder +FROM golang:1.22.2-alpine as builder RUN apk add --no-cache git gcc musl-dev make ENV GO111MODULE=on WORKDIR /go/src/moul.io/bot @@ -14,7 +14,7 @@ COPY . ./ RUN make install # minimalist runtime -FROM alpine:3.16.3 +FROM alpine:3.19.1 LABEL org.label-schema.build-date=$BUILD_DATE \ org.label-schema.name="bot" \ org.label-schema.description="" \ diff --git a/go.mod b/go.mod index f2de1bd3..de07a1a9 100644 --- a/go.mod +++ b/go.mod @@ -3,23 +3,23 @@ module moul.io/bot go 1.13 require ( - github.com/bwmarrin/discordgo v0.26.1 - github.com/getsentry/sentry-go v0.13.0 - github.com/go-chi/chi v4.1.2+incompatible + github.com/bwmarrin/discordgo v0.28.1 + github.com/getsentry/sentry-go v0.27.0 + github.com/go-chi/chi v4.1.3+incompatible github.com/gogo/gateway v1.1.0 - github.com/golang/protobuf v1.5.2 + github.com/golang/protobuf v1.5.4 github.com/google/go-github/v32 v32.1.0 - github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 + github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 - github.com/oklog/run v1.1.1-0.20200508094559-c7096881717e - github.com/peterbourgon/ff/v3 v3.1.2 - github.com/rs/cors v1.8.2 + github.com/oklog/run eee6e044b77c + github.com/peterbourgon/ff/v3 v3.4.0 + github.com/rs/cors v1.11.0 github.com/soheilhy/cmux v0.1.5 github.com/tailscale/depaware v0.0.0-20210622194025-720c4b409502 github.com/treastech/logger v0.0.0-20180705232552-e381e9ecf2e3 - go.uber.org/zap v1.21.0 - golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f - google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0 + go.uber.org/zap v1.27.0 + golang.org/x/oauth2 v0.19.0 + google.golang.org/genproto 8cf5692501f6 google.golang.org/grpc v1.42.0 google.golang.org/protobuf v1.27.1 moul.io/banner v1.0.1 diff --git a/tool/docker-protoc/Dockerfile b/tool/docker-protoc/Dockerfile index 380a5305..6b94996e 100644 --- a/tool/docker-protoc/Dockerfile +++ b/tool/docker-protoc/Dockerfile @@ -1,6 +1,6 @@ FROM moul/protoc-gen-gotemplate:latest as pgg -FROM golang:1.17-alpine as builder +FROM golang:1.22-alpine as builder RUN apk --no-cache add make git go rsync libc-dev openssh docker RUN go get -u \ github.com/gogo/protobuf/protoc-gen-gogofaster \ @@ -11,7 +11,7 @@ RUN go get -u \ RUN go get -u google.golang.org/protobuf/cmd/protoc-gen-go RUN go get -u google.golang.org/grpc/cmd/protoc-gen-go-grpc -FROM golang:1.17-alpine +FROM golang:1.22-alpine RUN apk --no-cache add git make protobuf gcc libc-dev npm perl-utils && \ mkdir -p /.cache/go-build && \ chmod -R 777 /.cache && \