Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 023763b

Browse files
authoredOct 28, 2024··
chore(deps): update all
1 parent 79cf5d0 commit 023763b

File tree

7 files changed

+24
-28
lines changed

7 files changed

+24
-28
lines changed
 

‎.github/workflows/docker.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
uses: actions/checkout@v3
3131

3232
- name: Build the container image
33-
uses: docker/build-push-action@v4.0.0
33+
uses: docker/build-push-action@v4.2.1
3434
with:
3535
repository: golang-repo-template
3636

3737
- name: Push to GitHub Packages
38-
uses: docker/build-push-action@v4.0.0
38+
uses: docker/build-push-action@v4.2.1
3939
if: github.event_name == 'release' || github.event_name == 'push'
4040
with:
4141
username: ${{ github.actor }}
@@ -66,7 +66,7 @@ jobs:
6666
if: |
6767
(github.event_name == 'release' || github.event_name == 'push') &&
6868
contains(steps.check_dockerhub_credentials.outputs.missingsecrets, 'no')
69-
uses: docker/build-push-action@v4.0.0
69+
uses: docker/build-push-action@v4.2.1
7070
with:
7171
username: ${{ secrets.DOCKER_USERNAME }}
7272
password: ${{ secrets.DOCKER_PASSWORD }}

‎.github/workflows/go.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ jobs:
5757
with:
5858
go-version: ${{ matrix.golang }}
5959
- name: Cache Go modules
60-
uses: actions/cache@v3.3.1
60+
uses: actions/cache@v3.3.3
6161
with:
6262
path: ~/go/pkg/mod
6363
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
6464
restore-keys: ${{ runner.os }}-go-${{ matrix.golang }}-v1-
6565
- name: Run GoReleaser (Dry Run)
66-
uses: goreleaser/goreleaser-action@v4.2.0
66+
uses: goreleaser/goreleaser-action@v4.6.0
6767
with:
6868
version: latest
6969
args: release --rm-dist --snapshot --skip-publish
@@ -119,7 +119,7 @@ jobs:
119119
uses: actions/setup-go@v4
120120
with:
121121
go-version: ${{ matrix.golang }}
122-
- uses: actions/cache@v3.3.1
122+
- uses: actions/cache@v3.3.3
123123
with:
124124
path: ~/go/pkg/mod
125125
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
@@ -135,7 +135,7 @@ jobs:
135135
git --no-pager diff go.mod go.sum
136136
git --no-pager diff --quiet go.mod go.sum
137137
- name: Upload coverage to Codecov
138-
uses: codecov/codecov-action@v3.1.4
138+
uses: codecov/codecov-action@v3.1.6
139139
with:
140140
#token: ${{ secrets.CODECOV_TOKEN }}
141141
file: ./coverage.txt
@@ -160,7 +160,7 @@ jobs:
160160
uses: actions/setup-go@v4
161161
with:
162162
go-version: ${{ matrix.golang }}
163-
- uses: actions/cache@v3.3.1
163+
- uses: actions/cache@v3.3.3
164164
with:
165165
path: ~/go/pkg/mod
166166
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
@@ -176,7 +176,7 @@ jobs:
176176
- name: Run tests on Unix-like operating systems
177177
run: make unittest
178178
- name: Upload coverage to Codecov
179-
uses: codecov/codecov-action@v3.1.4
179+
uses: codecov/codecov-action@v3.1.6
180180
with:
181181
#token: ${{ secrets.CODECOV_TOKEN }}
182182
file: ./coverage.txt

‎.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ jobs:
4040
-
4141
name: Cache Go modules
4242
if: steps.semantic.outputs.new-release-published == 'true' && steps.repoman.outputs.has-go-binary == 'true'
43-
uses: actions/cache@v3.3.1
43+
uses: actions/cache@v3.3.3
4444
with:
4545
path: ~/go/pkg/mod
4646
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
4747
restore-keys: ${{ runner.os }}-go-${{ matrix.golang }}-v1-
4848
-
4949
name: Run GoReleaser
5050
if: steps.semantic.outputs.new-release-published == 'true' && steps.repoman.outputs.has-go-binary == 'true'
51-
uses: goreleaser/goreleaser-action@v4.2.0
51+
uses: goreleaser/goreleaser-action@v4.6.0
5252
with:
5353
version: latest
5454
args: release --rm-dist

‎Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG VCS_REF
44
ARG VERSION
55

66
# build
7-
FROM golang:1.20-alpine as builder
7+
FROM golang:1.23-alpine as builder
88
RUN apk add --no-cache git gcc musl-dev make
99
ENV GO111MODULE=on
1010
WORKDIR /go/src/moul.io/golang-repo-template
@@ -14,7 +14,7 @@ COPY . ./
1414
RUN make install
1515

1616
# minimalist runtime
17-
FROM alpine:3.18.0
17+
FROM alpine:3.20.3
1818
LABEL org.label-schema.build-date=$BUILD_DATE \
1919
org.label-schema.name="golang-repo-template" \
2020
org.label-schema.description="" \

‎go.mod

+3-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎go.sum

+7-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tool/lint/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"dependencies": {
33
"alex": "10.0.0",
44
"markdown-spellcheck": "1.3.1",
5-
"markdownlint-cli": "0.31.1",
5+
"markdownlint-cli": "0.42.0",
66
"remark-cli": "11.0.0",
77
"remark-lint": "9.1.1"
88
}

0 commit comments

Comments
 (0)
Please sign in to comment.