Skip to content

Commit 48a1630

Browse files
committed
feat: add GitHub Actions workflow for verifying completion files
- Introduced a new job in the lint workflow to check if completion files are up to date. - Updated the generate-completions.sh script to include a new option for color output mode.
1 parent ddc2f72 commit 48a1630

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ jobs:
2020
run: |
2121
shellcheck bin/gtr bin/git-gtr lib/*.sh lib/commands/*.sh adapters/editor/*.sh adapters/ai/*.sh
2222
23+
completions:
24+
name: Completions
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- name: Verify completion files are up to date
30+
run: ./scripts/generate-completions.sh --check
31+
2332
test:
2433
name: Tests
2534
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)