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, 2023
1 parent 0a4840a commit 73a6d05
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.7.0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,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@v2.5.0
uses: docker/build-push-action@v2.10.0
with:
repository: totp-cli

- name: Push to GitHub Packages
uses: docker/build-push-action@v2.5.0
uses: docker/build-push-action@v2.10.0
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@v2.5.0
uses: docker/build-push-action@v2.10.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ 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: ${{ matrix.golang }}
- name: Cache Go modules
uses: actions/cache@v2.1.6
uses: actions/cache@v2.1.8
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@v2.6.1
uses: goreleaser/goreleaser-action@v2.9.1
with:
version: latest
args: release --rm-dist --snapshot --skip-publish
Expand All @@ -70,7 +70,7 @@ jobs:
matrix:
golangci_lint: [v1.38]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.7.0
- name: golangci-lint
uses: golangci/golangci-lint-action@v2.5.2
with:
Expand All @@ -86,7 +86,7 @@ jobs:
matrix:
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 @@ -104,12 +104,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@v2.1.6
- uses: actions/cache@v2.1.8
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@v1.5.0
uses: codecov/codecov-action@v1.5.2
with:
#token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
Expand All @@ -146,12 +146,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@v2.1.6
- uses: actions/cache@v2.1.8
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
Expand All @@ -167,7 +167,7 @@ jobs:
- name: Run tests on Unix-like operating systems
run: make unittest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.5.0
uses: codecov/codecov-action@v1.5.2
with:
#token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
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 @@ -15,7 +15,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 @@ -37,15 +37,15 @@ jobs:
-
name: Cache Go modules
if: steps.semantic.outputs.new-release-published == 'true' && steps.repoman.outputs.has-go-binary == 'true'
uses: actions/cache@v2.1.6
uses: actions/cache@v2.1.8
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@v2.6.1
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.16.5-alpine as builder
FROM golang:1.21.1-alpine as builder
RUN apk add --no-cache git gcc musl-dev make
ENV GO111MODULE=on
WORKDIR /go/src/moul.io/totp-cli
Expand All @@ -14,7 +14,7 @@ COPY . ./
RUN make install

# minimalist runtime
FROM alpine:3.13
FROM alpine:3.18
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="totp-cli" \
org.label-schema.description="" \
Expand Down
8 changes: 4 additions & 4 deletions go.mod

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

32 changes: 14 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
@@ -1,8 +1,8 @@
{
"dependencies": {
"alex": "9.1.0",
"alex": "9.1.1",
"markdown-spellcheck": "1.3.1",
"markdownlint-cli": "0.27.1",
"markdownlint-cli": "0.36.0",
"remark-cli": "9.0.0",
"remark-lint": "8.0.0"
}
Expand Down

0 comments on commit 73a6d05

Please sign in to comment.