Skip to content

Commit ee9fe2d

Browse files
renovate[bot]TimHuynh
andauthored
fix(deps): update all non-major dependencies (#203)
* fix(deps): update all non-major dependencies * update reviewdog, golangci, dockerfile * update to CommandContext(context.Background() to fix noctx linter issues * fix test * fix test --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: TimHuynh <tim.huynh@target.com>
1 parent 3c2ad88 commit ee9fe2d

File tree

19 files changed

+201
-163
lines changed

19 files changed

+201
-163
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717

1818
- name: install go
19-
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
19+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2020
with:
2121
# use version from go.mod file
2222
go-version-file: 'go.mod'

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
42+
uses: github/codeql-action/init@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
4343
with:
4444
languages: ${{ matrix.language }}
4545
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
5050
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
53+
uses: github/codeql-action/autobuild@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
6464
# make release
6565

6666
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
67+
uses: github/codeql-action/analyze@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4

.github/workflows/prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121

2222
- name: install go
23-
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
23+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2424
with:
2525
# use version from go.mod file
2626
go-version-file: 'go.mod'

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fetch-depth: 0
2020

2121
- name: install go
22-
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
22+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2323
with:
2424
# use version from go.mod file
2525
go-version-file: 'go.mod'

.github/workflows/reviewdog.yml

Lines changed: 48 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,51 +5,62 @@ name: reviewdog
55
on:
66
pull_request:
77

8+
permissions:
9+
contents: read
10+
811
# pipeline to execute
912
jobs:
1013
diff-review:
1114
runs-on: ubuntu-latest
1215

16+
permissions:
17+
contents: read # for actions/checkout to fetch code
18+
pull-requests: write # for reviewdog/action-golangci-lint to report issues using PR comments
19+
1320
steps:
14-
- name: clone
15-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16-
17-
- name: install go
18-
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
19-
with:
20-
# use version from go.mod file
21-
go-version-file: 'go.mod'
22-
cache: true
23-
check-latest: true
24-
25-
- name: golangci-lint
26-
uses: reviewdog/action-golangci-lint@dd3fda91790ca90e75049e5c767509dc0ec7d99b # v2.7.0
27-
with:
28-
github_token: ${{ secrets.github_token }}
29-
golangci_lint_flags: "--config=.golangci.yml"
30-
fail_on_error: true
31-
filter_mode: diff_context
32-
reporter: github-pr-review
21+
- name: clone
22+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
24+
- name: install go
25+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
26+
with:
27+
# use version from go.mod file
28+
go-version-file: "go.mod"
29+
cache: true
30+
check-latest: true
31+
32+
- name: golangci-lint
33+
uses: reviewdog/action-golangci-lint@f9bba13753278f6a73b27a56a3ffb1bfda90ed71 # v2.8.0
34+
with:
35+
github_token: ${{ secrets.github_token }}
36+
golangci_lint_flags: "--config=.golangci.yml --timeout=5m"
37+
fail_level: error
38+
filter_mode: diff_context
39+
reporter: github-pr-review
3340

3441
full-review:
3542
runs-on: ubuntu-latest
3643

44+
permissions:
45+
checks: write # for reviewdog/action-golangci-lint to report issues using checks
46+
contents: read # for actions/checkout to fetch code
47+
3748
steps:
38-
- name: clone
39-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40-
41-
- name: install go
42-
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
43-
with:
44-
# use version from go.mod file
45-
go-version-file: 'go.mod'
46-
cache: true
47-
check-latest: true
48-
49-
- name: golangci-lint
50-
uses: reviewdog/action-golangci-lint@dd3fda91790ca90e75049e5c767509dc0ec7d99b # v2.7.0
51-
with:
52-
github_token: ${{ secrets.github_token }}
53-
golangci_lint_flags: "--config=.golangci.yml"
54-
fail_on_error: false
55-
filter_mode: nofilter
49+
- name: clone
50+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
51+
52+
- name: install go
53+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
54+
with:
55+
# use version from go.mod file
56+
go-version-file: "go.mod"
57+
cache: true
58+
check-latest: true
59+
60+
- name: golangci-lint
61+
uses: reviewdog/action-golangci-lint@f9bba13753278f6a73b27a56a3ffb1bfda90ed71 # v2.8.0
62+
with:
63+
github_token: ${{ secrets.github_token }}
64+
golangci_lint_flags: "--config=.golangci.yml --timeout=5m"
65+
fail_level: error
66+
filter_mode: nofilter

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717

1818
- name: install go
19-
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
19+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2020
with:
2121
# use version from go.mod file
2222
go-version-file: 'go.mod'
@@ -28,7 +28,7 @@ jobs:
2828
go test -race -covermode=atomic -coverprofile=coverage.out ./...
2929
3030
- name: coverage
31-
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
31+
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
3232
with:
3333
token: ${{ secrets.CODECOV_TOKEN }}
3434
file: coverage.out

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717

1818
- name: install go
19-
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
19+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2020
with:
2121
# use version from go.mod file
2222
go-version-file: 'go.mod'

0 commit comments

Comments
 (0)