Skip to content

Commit

Permalink
Merge pull request #15 from ConductorOne/ggreer/fix-release
Browse files Browse the repository at this point in the history
Fix release. Get rid of old linter config.
  • Loading branch information
ggreer authored Jul 22, 2024
2 parents 0fa09b5 + 46a6daf commit 30debea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,21 @@ jobs:
with:
go-version: 1.22.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:
p12-file-base64: ${{ secrets.APPLE_SIGNING_KEY_P12 }}
p12-password: ${{ secrets.APPLE_SIGNING_KEY_P12_PASSWORD }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
version: "~> v2"
args: release --clean
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 All @@ -52,7 +53,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
version: "~> v2"
args: release --clean -f .goreleaser.docker.yaml
Expand Down
4 changes: 0 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ linters-settings:
tenv:
all: true

varcheck:
exported-fields: false # this appears to improperly detect exported variables as unused when they are used from a package with the same name


linters:
disable-all: true
enable:
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-snowflake"],
"bundle_id": "com.conductorone.baton-snowflake",
"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-snowflake"],
"bundle_id": "com.conductorone.baton-snowflake",
"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 30debea

Please sign in to comment.