Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions .github/workflows/publish-go-nightly-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v5

- name: Install Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod

- name: Download artifacts
uses: actions/download-artifact@v6
with:
Expand Down Expand Up @@ -151,16 +156,6 @@ jobs:
-k "${{ env.KEYCHAIN_PASSWORD }}" \
"${{ env.KEYCHAIN }}"

- name: Install gon for code signing and app notarization
run: |
wget \
-q \
https://github.com/Bearer/gon/releases/download/v0.0.27/gon_macos.zip

unzip \
gon_macos.zip \
-d /usr/local/bin

- name: Write gon config to file
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
run: |
Expand All @@ -187,7 +182,8 @@ jobs:
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
AC_PROVIDER: ${{ secrets.AC_PROVIDER }}
run: |
gon "${{ env.GON_CONFIG_PATH }}"
go tool \
github.com/bearer/gon/cmd/gon "${{ env.GON_CONFIG_PATH }}"

- name: Re-package binary
working-directory: ${{ env.DIST_DIR }}
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/release-go-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v5

- name: Install Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod

- name: Download artifacts
uses: actions/download-artifact@v6
with:
Expand Down Expand Up @@ -151,15 +156,6 @@ jobs:
-k "${{ env.KEYCHAIN_PASSWORD }}" \
"${{ env.KEYCHAIN }}"

- name: Install gon for code signing and app notarization
run: |
wget \
-q https://github.com/Bearer/gon/releases/download/v0.0.27/gon_macos.zip

unzip \
gon_macos.zip \
-d /usr/local/bin

- name: Write gon config to file
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
run: |
Expand All @@ -186,7 +182,8 @@ jobs:
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
AC_PROVIDER: ${{ secrets.AC_PROVIDER }}
run: |
gon "${{ env.GON_CONFIG_PATH }}"
go tool \
github.com/bearer/gon/cmd/gon "${{ env.GON_CONFIG_PATH }}"

- name: Re-package binary
working-directory: ${{ env.DIST_DIR }}
Expand Down
12 changes: 12 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ require (
github.com/OneOfOne/xxhash v1.2.8 // indirect
github.com/ProtonMail/go-crypto v1.1.6 // indirect
github.com/a8m/envsubst v1.4.3 // indirect
github.com/agext/levenshtein v1.2.1 // indirect
github.com/alecthomas/chroma/v2 v2.20.0 // indirect
github.com/alecthomas/participle/v2 v2.1.4 // indirect
github.com/apparentlymart/go-textseg v1.0.0 // indirect
github.com/arduino/go-win32-utils v1.0.0 // indirect
github.com/bearer/gon v0.0.37 // indirect
github.com/cespare/xxhash v1.1.0 // indirect
github.com/chainguard-dev/git-urls v1.0.2 // indirect
github.com/cloudflare/circl v1.6.1 // indirect
Expand Down Expand Up @@ -65,9 +68,14 @@ require (
github.com/goccy/go-yaml v1.18.0 // indirect
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/h2non/filetype v1.1.3 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-hclog v1.5.0 // indirect
github.com/hashicorp/go-multierror v1.0.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/hcl/v2 v2.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jandelgado/gcov2lcov v1.0.4 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
Expand All @@ -86,6 +94,7 @@ require (
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/mattn/go-zglob v0.0.6 // indirect
github.com/mikefarah/yq/v4 v4.48.1 // indirect
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/muesli/cancelreader v0.2.2 // indirect
Expand Down Expand Up @@ -119,6 +128,7 @@ require (
github.com/ulikunitz/xz v0.5.15 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/yuin/gopher-lua v1.1.1 // indirect
github.com/zclconf/go-cty v1.1.0 // indirect
github.com/zeebo/xxh3 v1.0.2 // indirect
go.bug.st/cleanup v1.0.0 // indirect
go.bug.st/downloader/v2 v2.1.1 // indirect
Expand Down Expand Up @@ -146,10 +156,12 @@ require (
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
howett.net/plist v0.0.0-20181124034731-591f970eefbb // indirect
mvdan.cc/sh/v3 v3.10.0 // indirect
)

tool (
github.com/bearer/gon/cmd/gon
github.com/go-bindata/go-bindata/go-bindata
github.com/go-task/task/v3/cmd/task
github.com/mikefarah/yq/v4
Expand Down
Loading
Loading