Skip to content

Commit

Permalink
feat: fig integration (#3437)
Browse files Browse the repository at this point in the history
closes #3328

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Oct 5, 2022
1 parent d9928fe commit bb6c53e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/fig.yml
@@ -0,0 +1,25 @@
on:
workflow_dispatch:
push:
tags:
- 'v*'

permissions:
contents: read

jobs:
fig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
with:
go-version: '>=1.19.1'
cache: true
- run: go run . generate-fig-spec >goreleaser.ts
- uses: withfig/push-to-fig-autocomplete-action@v1
with:
token: ${{ secrets.GH_PAT }}
autocomplete-spec-name: goreleaser
spec-path: goreleaser.ts
integration: commander

0 comments on commit bb6c53e

Please sign in to comment.