Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit 1a1c50f

Browse files
authored
Trigger GHA workflow (#192)
* Trigger GHA workflow Signed-off-by: Jing Chen <[email protected]> * Cache go test Signed-off-by: Jing Chen <[email protected]> * Reorg Signed-off-by: Jing Chen <[email protected]> * Bump go version Signed-off-by: Jing Chen <[email protected]> * Remove unnecessary steps Signed-off-by: Jing Chen <[email protected]> * Switch to golangci Signed-off-by: Jing Chen <[email protected]> * Fix golangci version Signed-off-by: Jing Chen <[email protected]> * Downgrade golangci version Signed-off-by: Jing Chen <[email protected]> * Fix lint again Signed-off-by: Jing Chen <[email protected]> * Fix go version Signed-off-by: Jing Chen <[email protected]> * Revert back to make lint Signed-off-by: Jing Chen <[email protected]> * Fix Signed-off-by: Jing Chen <[email protected]> * Clean up Signed-off-by: Jing Chen <[email protected]> --------- Signed-off-by: Jing Chen <[email protected]>
1 parent 45f7daa commit 1a1c50f

File tree

4 files changed

+30
-47
lines changed

4 files changed

+30
-47
lines changed

.github/actions/go-test/action.yml

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

.github/actions/lint/action.yml

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

.github/workflows/ci-pr-checks.yaml

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,37 @@ jobs:
1414
steps:
1515
- name: Checkout source
1616
uses: actions/checkout@v4
17-
18-
- name: Read project name from .version.json
19-
id: version
20-
run: |
21-
name=$(jq -r '."project-name"' .version.json)
22-
echo "project_name=$name" >> "$GITHUB_OUTPUT"
23-
24-
- name: Print project name
25-
run: echo "Project is ${{ steps.version.outputs.project_name }}"
26-
17+
2718
- name: Sanity check repo contents
2819
run: ls -la
20+
21+
- name: Set up go with cache
22+
uses: actions/setup-go@v5
23+
with:
24+
go-version: '1.24.0'
25+
cache-dependency-path: ./go.sum
2926

3027
- name: Run lint checks
31-
uses: ./.github/actions/lint
28+
run: |
29+
echo "Running golangci-lint..."
30+
31+
# Verify config file exists
32+
if [ -f .golangci.yml ] || [ -f .golangci.yaml ] || [ -f .golangci.toml ]; then
33+
echo "✅ Found golangci-lint config file"
34+
else
35+
echo "⚠️ No golangci-lint config file found. Using default linters"
36+
fi
3237
33-
- name: Test
34-
uses: ./.github/actions/go-test
38+
make lint
39+
40+
- name: Run go test
41+
shell: bash
42+
run: |
43+
# echo "Installing Ginkgo..."
44+
# go install github.com/onsi/ginkgo/[email protected]
45+
# export PATH=$PATH:$(go env GOPATH)/bin
46+
# echo "Ginkgo installed:"
47+
# ginkgo version
48+
# echo "Running tests with Ginkgo..."
49+
# go env -w GOFLAGS=-buildvcs=false
50+
make test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ The result is a fully managed inference stack for the base model.
9090

9191
7. Prometheus metrics exporter: Emit controller metrics
9292

93-
8. Enable multi-node inferencing: for instance, using LWS integration
93+
8. Enable multi-node inferencing: for instance, using LWS integration

0 commit comments

Comments
 (0)