Skip to content

Commit eb5b531

Browse files
committed
ci: Use Justfile commands in GitHub Actions workflow
Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>
1 parent 45e4e8b commit eb5b531

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ jobs:
1818
- uses: actions/setup-go@v5
1919
with:
2020
go-version: stable
21+
- uses: extractions/setup-just@v2
22+
- name: Check (fmt + vet)
23+
run: just check
2124
- name: Build
22-
run: go build ./...
23-
- name: Vet
24-
run: go vet ./...
25+
run: just build
2526
- name: Unit tests
26-
run: go test -v -race ./...
27+
run: just test-race
2728

2829
integration-tests:
2930
name: Integration Tests
@@ -33,8 +34,7 @@ jobs:
3334
- uses: actions/setup-go@v5
3435
with:
3536
go-version: stable
37+
- uses: extractions/setup-just@v2
3638
- uses: dtolnay/rust-toolchain@stable
37-
- name: Build Rust test server
38-
run: cargo build --manifest-path tests-integration/Cargo.toml
39-
- name: Run integration tests
40-
run: go test -v ./tests-integration/...
39+
- name: Integration tests
40+
run: just test-integration

0 commit comments

Comments
 (0)