Skip to content

Commit

Permalink
chore(deps): update all
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Oct 2, 2024
1 parent e2c5c0e commit 783acf0
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 43 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.7.0

- name: Build the container image
uses: docker/build-push-action@v3.0.0
uses: docker/build-push-action@v3.3.1
with:
repository: captcha

- name: Push to GitHub Packages
uses: docker/build-push-action@v3.0.0
uses: docker/build-push-action@v3.3.1
if: github.event_name == 'release' || github.event_name == 'push'
with:
username: ${{ github.actor }}
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
if: |
(github.event_name == 'release' || github.event_name == 'push') &&
contains(steps.check_dockerhub_credentials.outputs.missingsecrets, 'no')
uses: docker/build-push-action@v3.0.0
uses: docker/build-push-action@v3.3.1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.7.0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x
- name: Cache Go modules
uses: actions/cache@v3.0.4
uses: actions/cache@v3.3.3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run GoReleaser (Dry Run)
uses: goreleaser/goreleaser-action@v2.7.0
uses: goreleaser/goreleaser-action@v2.9.1
with:
version: latest
args: release --rm-dist --snapshot --skip-publish
Expand All @@ -52,9 +52,9 @@ jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.7.0
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.2.0
uses: golangci/golangci-lint-action@v3.7.1
with:
version: v1.31
#github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -69,7 +69,7 @@ jobs:
golang:
- 1.16.x
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.7.0
- name: Install Go
uses: actions/setup-go@v2
with:
Expand All @@ -88,12 +88,12 @@ jobs:
OS: macos-latest
GOLANG: ${{ matrix.golang }}
steps:
- uses: actions/checkout@v2.3.4
- 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 Expand Up @@ -131,12 +131,12 @@ jobs:
OS: ubuntu-latest
GOLANG: ${{ matrix.golang }}
steps:
- uses: actions/checkout@v2.3.4
- 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
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Release-Notes Preview
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.7.0
- run: |
git fetch --prune --unshallow --tags
- uses: snyk/release-notes-preview@v1.6.2
Expand All @@ -26,7 +26,7 @@ jobs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.7.0
with:
depth: 1
- uses: nosborn/github-action-markdown-cli@master
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.7.0
-
name: Unshallow
run: git fetch --prune --unshallow
Expand All @@ -30,7 +30,7 @@ jobs:
-
name: Cache Go modules
if: steps.semantic.outputs.new-release-published == 'true'
uses: actions/cache@v3.0.4
uses: actions/cache@v3.3.3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand All @@ -39,7 +39,7 @@ jobs:
-
name: Run GoReleaser
if: steps.semantic.outputs.new-release-published == 'true'
uses: goreleaser/goreleaser-action@v2.7.0
uses: goreleaser/goreleaser-action@v2.9.1
with:
version: latest
args: release --rm-dist
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.18.3-alpine as builder
FROM golang:1.23.2-alpine as builder
RUN apk add --no-cache git gcc musl-dev make
ENV GO111MODULE=on
WORKDIR /go/src/moul.io/captcha
Expand All @@ -14,7 +14,7 @@ COPY . ./
RUN make install

# minimalist runtime
FROM alpine:3.16.0
FROM alpine:3.20.3
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="captcha" \
org.label-schema.description="" \
Expand Down
7 changes: 3 additions & 4 deletions go.mod

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

31 changes: 14 additions & 17 deletions go.sum

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

2 changes: 1 addition & 1 deletion tool/lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"dependencies": {
"alex": "10.0.0",
"markdown-spellcheck": "1.3.1",
"markdownlint-cli": "0.28.1",
"markdownlint-cli": "0.42.0",
"remark-cli": "9.0.0",
"remark-lint": "8.0.0"
}
Expand Down

0 comments on commit 783acf0

Please sign in to comment.