From bb931846ad6f5b2c6e6223d12ea04aecffd413c4 Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Fri, 6 Mar 2026 10:26:26 +0100 Subject: [PATCH] Added completion action --- .github/workflows/pr.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 00431bd..e088e95 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -96,3 +96,17 @@ jobs: diff -qr templates/"${{ matrix.version }}" "$test_dir" rm -fr "$(dirname "$test_dir")" + + check-bash-completion: + runs-on: ubuntu-latest + + name: Check that Bash completion is up to date + steps: + - uses: actions/checkout@v5 + - uses: go-task/setup-task@v1 + + - name: Build completion + run: task completion:build + + - name: Check that nothing has changed + run: git diff --exit-code