Skip to content

Commit 048ca7f

Browse files
committed
ci: update Go version and add Fyne dependencies
- Upgrade Go version from 1.20 to 1.21 - Add installation of Fyne dependencies (libgl1-mesa-dev, xorg-dev) - Improve formatting of workflow file
1 parent 6f3ddda commit 048ca7f

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

.github/workflows/go.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,28 @@ name: Go
55

66
on:
77
push:
8-
branches: [ "master" ]
8+
branches: ["master"]
99
pull_request:
10-
branches: [ "master" ]
10+
branches: ["master"]
1111

1212
jobs:
13-
1413
build:
1514
runs-on: ubuntu-latest
1615
steps:
17-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v4
17+
18+
- name: Set up Go
19+
uses: actions/setup-go@v4
20+
with:
21+
go-version: "1.21"
1822

19-
- name: Set up Go
20-
uses: actions/setup-go@v4
21-
with:
22-
go-version: '1.20'
23+
- name: Install Fyne Dependencies
24+
run: |
25+
sudo apt-get update
26+
sudo apt-get install -y libgl1-mesa-dev xorg-dev
2327
24-
- name: Build
25-
run: go build -v ./...
28+
- name: Build
29+
run: go build -v ./...
2630

27-
- name: Test
28-
run: go test -v ./...
31+
- name: Test
32+
run: go test -v ./...

0 commit comments

Comments
 (0)