-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add ARM v6 support * bumping go from 1.17 to 1.19 * Replaced golint with golangci-lint * Replaced golint with golangci-lint * Fix linting issues and unhandle error returns * Fix linter issues * Rename github workflow * Make load balancer display show VPN * Gofmt cmd/dnsRecord Co-authored-by: Michael Riley <[email protected]>
- Loading branch information
1 parent
8de43d2
commit 5a53115
Showing
285 changed files
with
16,703 additions
and
6,478 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,30 +6,25 @@ on: | |
- master | ||
|
||
jobs: | ||
Go-Lint: | ||
Golangci-Lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17' | ||
go-version: 1.19 | ||
|
||
- name: Install dependencies | ||
run: | | ||
go version | ||
go get -u golang.org/x/lint/golint | ||
go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
- name: Run Lint | ||
- name: Run golangci-lint | ||
run: | | ||
golint_files=$(golint cmd) | ||
if [[ -n ${golint_files} ]]; then | ||
echo 'fix the following linting errors:' | ||
echo "${golint_files}" | ||
exit 1 | ||
fi | ||
exit 0 | ||
golangci-lint run cmd/... | ||
Go-Fmt: | ||
runs-on: ubuntu-latest | ||
|
@@ -39,7 +34,7 @@ jobs: | |
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17' | ||
go-version: 1.19 | ||
|
||
- name: Run fmt | ||
run: | | ||
|
@@ -49,4 +44,4 @@ jobs: | |
echo "${gofmt_files}" | ||
exit 1 | ||
fi | ||
exit 0 | ||
exit 0 |
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
Oops, something went wrong.