Skip to content

Commit 29f5ec0

Browse files
committed
ci: Clean up workflows — drop redundant config, align with Makefile
- Remove bun-version: latest everywhere (it's the default) - Flatten single-value matrices in sdk-tests (csharp, python) - Rename test-python-sdk-test → test-python-sdk, same for fhirpy - release.yml: use make test instead of separate bun test + typecheck - release.yml: add --frozen-lockfile to bun install
1 parent 9830ab3 commit 29f5ec0

3 files changed

Lines changed: 12 additions & 42 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616

1717
- name: Setup Bun
1818
uses: oven-sh/setup-bun@v2
19-
with:
20-
bun-version: latest
2119

2220
- name: Install dependencies
2321
run: bun install --frozen-lockfile
@@ -39,8 +37,6 @@ jobs:
3937

4038
- name: Setup Bun
4139
uses: oven-sh/setup-bun@v2
42-
with:
43-
bun-version: latest
4440

4541
- name: Install dependencies
4642
run: bun install --frozen-lockfile
@@ -56,8 +52,6 @@ jobs:
5652

5753
- name: Setup Bun
5854
uses: oven-sh/setup-bun@v2
59-
with:
60-
bun-version: latest
6155

6256
- name: Build and pack
6357
run: |
@@ -89,8 +83,6 @@ jobs:
8983
- name: Setup Bun
9084
if: matrix.package-manager == 'bun'
9185
uses: oven-sh/setup-bun@v2
92-
with:
93-
bun-version: latest
9486

9587
- name: Setup Node.js
9688
if: matrix.package-manager != 'bun'

.github/workflows/release.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,12 @@ jobs:
2525

2626
- name: Setup Bun
2727
uses: oven-sh/setup-bun@v2
28-
with:
29-
bun-version: latest
3028

3129
- name: Install dependencies
32-
run: bun install
33-
34-
- name: Run tests
35-
run: bun test
30+
run: bun install --frozen-lockfile
3631

37-
- name: Run typecheck
38-
run: bun run typecheck
32+
- name: Test
33+
run: make test
3934

4035
- name: Build
4136
run: bun run build
@@ -81,17 +76,12 @@ jobs:
8176

8277
- name: Setup Bun
8378
uses: oven-sh/setup-bun@v2
84-
with:
85-
bun-version: latest
8679

8780
- name: Install dependencies
88-
run: bun install
89-
90-
- name: Run tests
91-
run: bun test
81+
run: bun install --frozen-lockfile
9282

93-
- name: Run typecheck
94-
run: bun run typecheck
83+
- name: Test
84+
run: make test
9585

9686
- name: Build
9787
run: bun run build

.github/workflows/sdk-tests.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,16 @@ jobs:
1010
test-csharp-sdk:
1111
runs-on: ubuntu-latest
1212

13-
strategy:
14-
matrix:
15-
dotnet-version: [8.0.x]
16-
1713
steps:
1814
- uses: actions/checkout@v5
1915

2016
- name: Setup Bun
2117
uses: oven-sh/setup-bun@v2
2218

23-
- name: Setup .NET ${{ matrix.dotnet-version }}
19+
- name: Setup .NET
2420
uses: actions/setup-dotnet@v5
2521
with:
26-
dotnet-version: ${{ matrix.dotnet-version }}
22+
dotnet-version: 8.0.x
2723

2824
- name: Install dependencies
2925
run: bun install --frozen-lockfile
@@ -118,13 +114,9 @@ jobs:
118114
- name: Run tests
119115
run: make test-typescript-ccda-example
120116

121-
test-python-sdk-test:
117+
test-python-sdk:
122118
runs-on: ubuntu-latest
123119

124-
strategy:
125-
matrix:
126-
python-version: [ "3.13" ]
127-
128120
steps:
129121
- uses: actions/checkout@v5
130122

@@ -133,7 +125,7 @@ jobs:
133125

134126
- uses: actions/setup-python@v6
135127
with:
136-
python-version: ${{ matrix.python-version }}
128+
python-version: "3.13"
137129

138130
- name: Install dependencies
139131
run: bun install --frozen-lockfile
@@ -156,13 +148,9 @@ jobs:
156148
exit 1
157149
fi
158150
159-
test-python-fhirpy-sdk-test:
151+
test-python-fhirpy-sdk:
160152
runs-on: ubuntu-latest
161153

162-
strategy:
163-
matrix:
164-
python-version: [ "3.13" ]
165-
166154
steps:
167155
- uses: actions/checkout@v5
168156

@@ -171,7 +159,7 @@ jobs:
171159

172160
- uses: actions/setup-python@v6
173161
with:
174-
python-version: ${{ matrix.python-version }}
162+
python-version: "3.13"
175163

176164
- name: Install dependencies
177165
run: bun install --frozen-lockfile

0 commit comments

Comments
 (0)