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 #45

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
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
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
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
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
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
Expand Up @@ -4,7 +4,7 @@ ARG VCS_REF
ARG VERSION

# build
FROM golang:1.18.3-alpine as builder
FROM golang:1.22.3-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.19.1
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="captcha" \
org.label-schema.description="" \
Expand Down
5 changes: 2 additions & 3 deletions go.mod

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

27 changes: 12 additions & 15 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
Expand Up @@ -2,7 +2,7 @@
"dependencies": {
"alex": "10.0.0",
"markdown-spellcheck": "1.3.1",
"markdownlint-cli": "0.28.1",
"markdownlint-cli": "0.40.0",
"remark-cli": "9.0.0",
"remark-lint": "8.0.0"
}
Expand Down