Describe the feature or problem you’d like to solve
There have been 2 improvements in cli/gh-extension-precompile that new Go extensions should take advantage of:
Proposed solution
Update the Go release workflow below to 1) read Go version from go.mod and 2) generate attestations:
From this:
|
jobs: |
|
release: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- uses: actions/checkout@v3 |
|
- uses: cli/gh-extension-precompile@v1 |
To this:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cli/gh-extension-precompile@v1
with:
generate_attestations: true
go_version_file: go.mod
Additional context
Add any other context like screenshots or mockups are helpful, if applicable.
Describe the feature or problem you’d like to solve
There have been 2 improvements in
cli/gh-extension-precompilethat new Go extensions should take advantage of:actions/checkout@v4Proposed solution
Update the Go release workflow below to 1) read Go version from
go.modand 2) generate attestations:From this:
cli/pkg/cmd/extension/ext_tmpls/goBinWorkflow.yml
Lines 9 to 14 in b05bddc
To this:
Additional context
Add any other context like screenshots or mockups are helpful, if applicable.