Skip to content

Commit ff4dc81

Browse files
committed
update ci
1 parent 191c10c commit ff4dc81

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,20 @@ env:
1616
jobs:
1717
ci:
1818
name: ci flow
19-
runs-on: self-hosted
20-
container:
21-
image: ubuntu:latest
19+
runs-on: ubuntu:latest
2220
steps:
2321
- uses: actions/checkout@v3
2422
# with:
2523
# submodules: recursive
2624

27-
- name: Install build tools
28-
run: |
29-
apt-get update
30-
apt-get install -y build-essential ca-certificates
3125
- name: Set up Go
3226
uses: actions/setup-go@v4
3327
with:
3428
go-version: 1.23.0
35-
cache: true
29+
cache: false
3630

3731
- name: Build Go
38-
run: CGO_ENABLED=1 go build ./...
32+
run: go build ./...
3933

4034
- name: Run Test
4135
id: unittest

0 commit comments

Comments
 (0)