Skip to content

Commit 7046aa4

Browse files
authored
Update go.yml
1 parent 8a847c2 commit 7046aa4

File tree

1 file changed

+32
-16
lines changed

1 file changed

+32
-16
lines changed

.github/workflows/go.yml

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,35 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v5
18-
19-
- name: Set up Go
20-
uses: actions/setup-go@v6
21-
with:
22-
go-version: '1.25'
23-
cache: false
24-
25-
- name: TIDY
26-
run: go mod tidy
27-
28-
- name: Build
29-
run: go build -v ./...
30-
31-
- name: Test
32-
run: go test -v ./...
17+
- uses: actions/checkout@v5
18+
19+
- name: Install system dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y \
23+
gcc \
24+
pkg-config \
25+
libwayland-dev \
26+
libx11-dev \
27+
libx11-xcb-dev \
28+
libxkbcommon-x11-dev \
29+
libgles2-mesa-dev \
30+
libegl1-mesa-dev \
31+
libffi-dev \
32+
libxcursor-dev \
33+
libvulkan-dev
34+
35+
- name: Set up Go
36+
uses: actions/setup-go@v6
37+
with:
38+
go-version: '1.25'
39+
cache: true
40+
41+
- name: Tidy
42+
run: go mod tidy
43+
44+
- name: Build
45+
run: go build -v ./...
46+
47+
- name: Test
48+
run: go test -v ./...

0 commit comments

Comments
 (0)