Skip to content

Commit 646ecb9

Browse files
committed
fix(ci): add setup step for embed directive and update Go version
- Create dummy directory before build and lint steps - Update Go version from 1.21 to 1.24 to match go.mod - Change build command to only compile CLI packages
1 parent 3b9c3b7 commit 646ecb9

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v5
1919
with:
20-
go-version: '1.21'
20+
go-version: '1.24'
21+
22+
- name: Create dummy frontend directory
23+
run: mkdir -p frontend/dist && touch frontend/dist/.gitkeep
2124

2225
- name: Build
23-
run: go build -v ./...
26+
run: go build -v ./cmd/... ./internal/... ./pkg/...
2427

2528
- name: Test
2629
run: go test -v ./...
@@ -79,7 +82,10 @@ jobs:
7982
- name: Set up Go
8083
uses: actions/setup-go@v5
8184
with:
82-
go-version: '1.21'
85+
go-version: '1.24'
86+
87+
- name: Create dummy frontend directory
88+
run: mkdir -p frontend/dist && touch frontend/dist/.gitkeep
8389

8490
- name: golangci-lint
8591
uses: golangci/golangci-lint-action@v3

0 commit comments

Comments
 (0)