-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
396 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,16 +21,16 @@ jobs: | |
|
||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
|
||
- name: Set up Go release | ||
uses: actions/setup-go@v5 | ||
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | ||
with: | ||
go-version-file: ${{ github.workspace }}/go.mod | ||
cache: false | ||
|
||
- name: Enable Go build cache | ||
uses: actions/cache@v4 | ||
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 | ||
with: | ||
path: ~/.cache/go-build | ||
key: ${{ runner.os }}-go-build-${{ github.ref }}-${{ hashFiles('**') }} | ||
|
@@ -39,7 +39,7 @@ jobs: | |
${{ runner.os }}-go-build- | ||
- name: Enable Go modules cache | ||
uses: actions/cache@v4 | ||
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-modules-${{ hashFiles('**/go.sum') }} | ||
|
@@ -102,15 +102,15 @@ jobs: | |
echo "$out" | bin/reviewdog -f=buf -reporter=github-pr-review -fail-level=error | ||
- name: Run code linters | ||
uses: reviewdog/action-golangci-lint@v2 | ||
uses: reviewdog/action-golangci-lint@7708105983c614f7a2725e2172908b7709d1c3e4 # v2.6.2 | ||
with: | ||
github_token: ${{ secrets.ROBOT_TOKEN || secrets.GITHUB_TOKEN }} | ||
go_version_file: ${{ github.workspace }}/go.mod | ||
reporter: github-pr-review | ||
fail_on_error: true | ||
cache: false | ||
golangci_lint_flags: "-c=.golangci.yml" | ||
golangci_lint_version: v1.55.2 # Version should match specified in Makefile | ||
golangci_lint_version: v1.62.0 # Version should match specified in Makefile | ||
|
||
- name: Run go-consistent | ||
env: | ||
|
@@ -145,7 +145,7 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Run Merge Gatekeeper | ||
uses: upsidr/[email protected] | ||
uses: upsidr/merge-gatekeeper@09af7a82c1666d0e64d2bd8c01797a0bcfd3bb5d # v1.2.1 | ||
with: | ||
self: Merge Gatekeeper | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -169,7 +169,7 @@ jobs: | |
|
||
steps: | ||
- name: Slack Notification | ||
uses: rtCamp/[email protected] | ||
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # v2.3.2 | ||
|
||
workflow_failure: | ||
if: ${{ failure() }} | ||
|
@@ -187,4 +187,4 @@ jobs: | |
|
||
steps: | ||
- name: Slack Notification | ||
uses: rtCamp/[email protected] | ||
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # v2.3.2 |
Oops, something went wrong.