Skip to content

Update Go extension workflow template to reflect recent enhancements to cli/gh-extension-precompile #9394

Description

@andyfeller

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementa request to improve CLIgh-extensionrelating to the gh extension commandneeds-triageneeds to be reviewed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions