Skip to content

Commit

Permalink
Update all
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Aug 2, 2023
1 parent 93878b5 commit 3f0013a
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 38 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@v3.0.0
uses: docker/build-push-action@v3.3.1
with:
repository: golang-repo-template

- 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 @@ -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@v3.0.0
uses: docker/build-push-action@v3.3.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 @@ -52,7 +52,7 @@ jobs:
with:
go-version: ${{ matrix.golang }}
- name: Cache Go modules
uses: actions/cache@v3.0.2
uses: actions/cache@v3.3.1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
Expand All @@ -72,7 +72,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.2.0
uses: golangci/golangci-lint-action@v3.6.0
with:
version: ${{ matrix.golangci_lint }}
#github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.golang }}
- uses: actions/cache@v3.0.2
- uses: actions/cache@v3.3.1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
Expand All @@ -125,7 +125,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/codecov-action@v3.1.0
uses: codecov/codecov-action@v3.1.4
with:
#token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.golang }}
- uses: actions/cache@v3.0.2
- uses: actions/cache@v3.3.1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
Expand All @@ -169,7 +169,7 @@ jobs:
- name: Run tests on Unix-like operating systems
run: make unittest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.0
uses: codecov/codecov-action@v3.1.4
with:
#token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
-
name: Cache Go modules
if: steps.semantic.outputs.new-release-published == 'true' && steps.repoman.outputs.has-go-binary == 'true'
uses: actions/cache@v3.0.2
uses: actions/cache@v3.3.1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.0
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
persist-credentials: false

- name: "Run analysis"
env:
SCORECARD_READ_TOKEN: ${{ secrets.SCORECARD_READ_TOKEN }}
if: env.SCORECARD_READ_TOKEN != null
uses: ossf/scorecard-action@f10ec7151e838890a3fbfa27875a33f80869977b # v1.0.4
uses: ossf/scorecard-action@ce330fde6b1a5c9c75b417e7efc510b822a35564 # v1.1.2
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -48,7 +48,7 @@ jobs:
env:
SCORECARD_READ_TOKEN: ${{ secrets.SCORECARD_READ_TOKEN }}
if: env.SCORECARD_READ_TOKEN != null
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.0.0
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: SARIF file
path: results.sarif
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.2-alpine as builder
FROM golang:1.20.7-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.15.4
FROM alpine:3.18.2
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="golang-repo-template" \
org.label-schema.description="" \
Expand Down
6 changes: 3 additions & 3 deletions go.mod

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

39 changes: 21 additions & 18 deletions go.sum

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

4 changes: 2 additions & 2 deletions tool/lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"dependencies": {
"alex": "10.0.0",
"markdown-spellcheck": "1.3.1",
"markdownlint-cli": "0.31.1",
"markdownlint-cli": "0.35.0",
"remark-cli": "10.0.1",
"remark-lint": "9.1.1"
"remark-lint": "9.1.2"
}
}

0 comments on commit 3f0013a

Please sign in to comment.