-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump go, add comments to CI workflows, update golangci lint, fix lint…
…er errors
- Loading branch information
1 parent
9e6bcb6
commit 49f6756
Showing
8 changed files
with
26 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
uses: golangci/[email protected] | ||
with: | ||
args: --timeout=10m | ||
version: v1.59 | ||
version: v1.60 | ||
|
||
test: | ||
strategy: | ||
|
@@ -31,6 +31,8 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
# This step is required otherwise the 'mage' | ||
# command cannot be used in subsequent steps | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -39,7 +41,7 @@ jobs: | |
- name: Install Dependencies | ||
run: | | ||
go install github.com/magefile/[email protected] | ||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 | ||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.0 | ||
- name: Run E2E tests | ||
shell: pwsh | ||
|
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 |
---|---|---|
|
@@ -20,6 +20,8 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
# This step is required otherwise the 'mage' | ||
# command cannot be used in subsequent steps | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -28,7 +30,7 @@ jobs: | |
- name: Install Dependencies | ||
run: | | ||
go install github.com/magefile/[email protected] | ||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 | ||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.0 | ||
- name: Run E2E tests | ||
shell: pwsh | ||
|
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 |
---|---|---|
|
@@ -39,7 +39,7 @@ jobs: | |
- name: Install Dependencies | ||
run: | | ||
go install github.com/magefile/[email protected] | ||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 | ||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.0 | ||
- name: build-binary | ||
run: | | ||
|
@@ -82,6 +82,8 @@ jobs: | |
username: ${{ env.DOCKER_USERNAME }} | ||
password: ${{ env.DOCKER_PASSWORD }} | ||
|
||
# This step is required otherwise the 'mage' | ||
# command cannot be used in subsequent steps | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -90,7 +92,7 @@ jobs: | |
- name: Install Dependencies | ||
run: | | ||
go install github.com/magefile/[email protected] | ||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 | ||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.0 | ||
- name: build-binary | ||
run: | | ||
|
@@ -126,7 +128,7 @@ jobs: | |
- name: Install Dependencies | ||
run: | | ||
go install github.com/magefile/[email protected] | ||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 | ||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.0 | ||
- name: build-binary | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -16,7 +16,8 @@ | |
"tests", | ||
"scripts", | ||
"charts", | ||
"package" | ||
"package", | ||
"pkg/powershell/powershell.go" | ||
] | ||
} | ||
} |
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