Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VCS_REF
ARG VERSION

# build
FROM golang:1.17.7-alpine as builder
FROM golang:1.22.4-alpine as builder
RUN apk add --no-cache git gcc musl-dev make
ENV GO111MODULE=on
WORKDIR /go/src/moul.io/bot
Expand All @@ -14,7 +14,7 @@ COPY . ./
RUN make install

# minimalist runtime
FROM alpine:3.16.3
FROM alpine:3.20.0
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="bot" \
org.label-schema.description="" \
Expand Down
22 changes: 11 additions & 11 deletions go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tool/docker-protoc/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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 && \
Expand Down