Skip to content

Commit 200bcb6

Browse files
fankclaude
andcommitted
Update existing CI workflow instead of creating duplicate
- Remove duplicate test.yml workflow - Add tests for GitHub token support in existing ci.yml - Add test for specific version with token 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent a7c5d83 commit 200bcb6

File tree

2 files changed

+33
-61
lines changed

2 files changed

+33
-61
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,38 @@ jobs:
2121
uses: ./
2222
with:
2323
version: 'v0.4.0'
24+
2425
- name: Verify Installation
2526
run: sqruff --version
27+
28+
test-with-token:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
34+
- name: Test Install with GitHub Token
35+
uses: ./
36+
with:
37+
github-token: ${{ secrets.GITHUB_TOKEN }}
38+
39+
- name: Verify Installation
40+
run: |
41+
sqruff --version
42+
sqruff --help
43+
44+
test-specific-version-with-token:
45+
runs-on: ubuntu-latest
46+
steps:
47+
- name: Checkout
48+
uses: actions/checkout@v4
49+
50+
- name: Test Install Specific Version with Token
51+
uses: ./
52+
with:
53+
version: 'v0.28.0'
54+
github-token: ${{ secrets.GITHUB_TOKEN }}
55+
56+
- name: Verify Specific Version
57+
run: |
58+
sqruff --version | grep "0.28.0"

.github/workflows/test.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)