-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add arm64 support for M1 Mac, replace golint (#46)
* ignore vscode files * bump version of gomock for arm * add arm64 as supported release arch * add go-version file for asdf and goenv users * update versions referenced in contributing docs * remove second param in DoAndReturn - breaking change introduced by latest gomock with arm support * remove golint for now * add arm64 to sopstoolinstall script * an attempt and more verbose install docs * golangci-lint support * fix golangci-lint in travis * lint: remove trailing newline * fmt sprintf not needed for multiline string * use less stutter in class naming * rename test helper without underscore * use shorter name for os wrap instance * smaller oswrap instance name * remove redundant return statement * add new archive step with arch, add id, specify in brewfile * use golangci-lint tap to install latest * update style doc for golangcilint * more arch additions * also have to add to installer * add binary based on goreleaser builds * add note about docker build for linuxamd64 * add note about releases * Update README.md Co-authored-by: Justin Hart <onyxraven@users.noreply.github.com> * accidentally an L Co-authored-by: Justin Hart <justin@ibotta.com> Co-authored-by: Justin Hart <onyxraven@users.noreply.github.com>
- Loading branch information
1 parent
e81c19d
commit 7c1722a
Showing
22 changed files
with
147 additions
and
121 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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
--- | ||
engines: | ||
golint: | ||
enabled: true | ||
gofmt: | ||
enabled: true | ||
govet: | ||
|
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 |
---|---|---|
|
@@ -5,3 +5,4 @@ sopstool | |
c.out | ||
*.cover | ||
.idea | ||
.vscode |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
1.17 |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
run: | ||
timeout: 2m | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
# defaults | ||
- govet | ||
- staticcheck | ||
- gosimple | ||
- typecheck | ||
- revive | ||
# additional | ||
- goimports | ||
- gosec | ||
- misspell | ||
- whitespace | ||
|
||
output: | ||
format: colored-line-number |
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 |
---|---|---|
|
@@ -39,7 +39,6 @@ func CleanCommand(cmd *cobra.Command, args []string) error { | |
return err | ||
} | ||
} | ||
|
||
} | ||
|
||
return nil | ||
|
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.