Skip to content

Commit

Permalink
Merge pull request #16 from ConductorOne/mchavez-fix-linter
Browse files Browse the repository at this point in the history
Fix release and deprecated linter
  • Loading branch information
ggreer authored May 24, 2024
2 parents cf50930 + 1b925d5 commit f8a3fee
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
go-version: 1.20.x
- name: Set up Gon
run: brew tap mitchellh/gon && brew install mitchellh/gon/gon
run: brew tap conductorone/gon && brew install conductorone/gon/gon
- name: Import Keychain Certs
uses: apple-actions/import-codesign-certs@v1
with:
Expand All @@ -32,6 +32,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }}
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
AC_PROVIDER: ${{ secrets.AC_PROVIDER }}
goreleaser-docker:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 0 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,13 @@ linters-settings:
linters:
disable-all: true
enable:
- deadcode # Finds unused code
- errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases
- gosimple # Linter for Go source code that specializes in simplifying a code
- govet # Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string
- ineffassign # Detects when assignments to existing variables are not used
- staticcheck # Staticcheck is a go vet on steroids, applying a ton of static analysis checks
- typecheck # Like the front-end of a Go compiler, parses and type-checks Go code
- unused # Checks Go code for unused constants, variables, functions and types
- varcheck # Finds unused global variables and constants
- asasalint # Check for pass []any as any in variadic func(...any)
- asciicheck # Simple linter to check that your code does not contain non-ASCII identifiers
- bidichk # Checks for dangerous unicode character sequences
Expand Down
3 changes: 1 addition & 2 deletions .gon-amd64.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"source": ["./dist/macos-amd64_darwin_amd64_v1/baton-retool"],
"bundle_id": "com.conductorone.baton-retool",
"apple_id": {
"username" : "[email protected]",
"password": "@env:AC_PASSWORD"
"username" : "[email protected]"
},
"sign": {
"application_identity": "Developer ID Application: Justin Gallardo (858DKH55XL)"
Expand Down
3 changes: 1 addition & 2 deletions .gon-arm64.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"source": ["./dist/macos-arm64_darwin_arm64/baton-retool"],
"bundle_id": "com.conductorone.baton-retool",
"apple_id": {
"username" : "[email protected]",
"password": "@env:AC_PASSWORD"
"username" : "[email protected]"
},
"sign": {
"application_identity": "Developer ID Application: Justin Gallardo (858DKH55XL)"
Expand Down

0 comments on commit f8a3fee

Please sign in to comment.