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 Sep 7, 2024
1 parent 79cf5d0 commit 9af2a3e
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
uses: actions/checkout@v3

- name: Build the container image
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
repository: golang-repo-template

- name: Push to GitHub Packages
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
if: github.event_name == 'release' || github.event_name == 'push'
with:
username: ${{ github.actor }}
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
if: |
(github.event_name == 'release' || github.event_name == 'push') &&
contains(steps.check_dockerhub_credentials.outputs.missingsecrets, 'no')
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ jobs:
with:
go-version: ${{ matrix.golang }}
- name: Cache Go modules
uses: actions/[email protected].1
uses: actions/[email protected].3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-${{ matrix.golang }}-v1-
- name: Run GoReleaser (Dry Run)
uses: goreleaser/goreleaser-action@v4.2.0
uses: goreleaser/goreleaser-action@v4.6.0
with:
version: latest
args: release --rm-dist --snapshot --skip-publish
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.golang }}
- uses: actions/[email protected].1
- uses: actions/[email protected].3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
Expand All @@ -135,7 +135,7 @@ jobs:
git --no-pager diff go.mod go.sum
git --no-pager diff --quiet go.mod go.sum
- name: Upload coverage to Codecov
uses: codecov/[email protected].4
uses: codecov/[email protected].6
with:
#token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
Expand All @@ -160,7 +160,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.golang }}
- uses: actions/[email protected].1
- uses: actions/[email protected].3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
Expand All @@ -176,7 +176,7 @@ jobs:
- name: Run tests on Unix-like operating systems
run: make unittest
- name: Upload coverage to Codecov
uses: codecov/[email protected].4
uses: codecov/[email protected].6
with:
#token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ jobs:
-
name: Cache Go modules
if: steps.semantic.outputs.new-release-published == 'true' && steps.repoman.outputs.has-go-binary == 'true'
uses: actions/[email protected].1
uses: actions/[email protected].3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-${{ matrix.golang }}-v1-
-
name: Run GoReleaser
if: steps.semantic.outputs.new-release-published == 'true' && steps.repoman.outputs.has-go-binary == 'true'
uses: goreleaser/goreleaser-action@v4.2.0
uses: goreleaser/goreleaser-action@v4.6.0
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.20-alpine as builder
FROM golang:1.23-alpine as builder
RUN apk add --no-cache git gcc musl-dev make
ENV GO111MODULE=on
WORKDIR /go/src/moul.io/golang-repo-template
Expand All @@ -14,7 +14,7 @@ COPY . ./
RUN make install

# minimalist runtime
FROM alpine:3.18.0
FROM alpine:3.20.3
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="golang-repo-template" \
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.

17 changes: 7 additions & 10 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.31.1",
"markdownlint-cli": "0.41.0",
"remark-cli": "11.0.0",
"remark-lint": "9.1.1"
}
Expand Down

0 comments on commit 9af2a3e

Please sign in to comment.