Skip to content

Commit 1e9af7a

Browse files
authored
github: update build process
1 parent 9936b7e commit 1e9af7a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/hotkey.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: [ubuntu-latest, macos-latest, windows-latest]
24+
go: ['1.16.x', '1.17.x', '1.18.x', '1.19.x']
2425
steps:
2526
- name: Install and run dependencies (xvfb libx11-dev)
2627
if: ${{ runner.os == 'Linux' }}
2728
run: |
2829
sudo apt update
29-
sudo apt install -y xvfb libx11-dev libegl1-mesa-dev libgles2-mesa-dev
30+
sudo apt install -y xvfb libx11-dev x11-utils libegl1-mesa-dev libgles2-mesa-dev
3031
Xvfb :0 -screen 0 1024x768x24 > /dev/null 2>&1 &
3132
# Wait for Xvfb
3233
MAX_ATTEMPTS=120 # About 60 seconds
@@ -46,7 +47,7 @@ jobs:
4647
- uses: actions/setup-go@v2
4748
with:
4849
stable: 'false'
49-
go-version: '1.17.x'
50+
go-version: ${{ matrix.go }}
5051

5152
- name: Run Tests with CGO_ENABLED=1
5253
if: ${{ runner.os == 'Linux' || runner.os == 'macOS'}}

0 commit comments

Comments
 (0)