Skip to content

Commit

Permalink
bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mxssl committed Apr 7, 2022
1 parent 26d86f4 commit d9339f8
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: gomod
directory: '/'
schedule:
interval: daily
time: '12:00'
open-pull-requests-limit: 10
17 changes: 17 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: golangci-lint

on:
push:
pull_request:

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.45.2
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.3-alpine3.14 as builder
FROM golang:1.18.0-alpine3.15 as builder

ENV GO111MODULE=on

Expand All @@ -18,10 +18,9 @@ RUN CGO_ENABLED=0 \
go build -v -o bot

# Copy compiled binary to clear Alpine Linux image
FROM alpine:3.14.3
FROM alpine:3.15.4
WORKDIR /
RUN apk add --no-cache ca-certificates
COPY --from=builder /go/src/github.com/mxssl/tg-captcha-bot .
RUN chmod +x bot
CMD ["./bot"]

2 changes: 1 addition & 1 deletion INSTALL-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ version: '2'

services:
tg-captcha-bot:
image: mxssl/tg-captcha-bot:v1.1.4
image: mxssl/tg-captcha-bot:v1.1.5
volumes:
- ./config.toml:/config.toml
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion INSTALL-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cd tg-captcha-bot
2. Download bot binary and move it to needed directory

```bash
wget https://github.com/mxssl/tg-captcha-bot/releases/download/v1.1.4/tg-captcha-bot_1.1.4_linux_amd64.tar.gz
wget https://github.com/mxssl/tg-captcha-bot/releases/download/v1.1.5/tg-captcha-bot_1.1.5_linux_amd64.tar.gz

tar xvzf tg-captcha-bot_1.1.4_linux_amd64.tar.gz

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/mxssl/tg-captcha-bot

go 1.17
go 1.18

require (
github.com/pkg/errors v0.9.1
Expand Down

0 comments on commit d9339f8

Please sign in to comment.