-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (26 loc) · 855 Bytes
/
go.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This file adheres to the YAML5 style.
{
"name": "Go",
"on": ["push", "pull_request"],
"jobs": {
"build": {
"name": "Build",
"runs-on": "ubuntu-latest",
"steps": [
{
"name": "Set up Go 1.18",
"uses": "actions/setup-go@v1",
"with": {"go-version": 1.18},
"id": "go",
},
{
"name": "Set up dependencies",
"run": "sudo -E apt-add-repository -y 'ppa:ubuntu-toolchain-r' && sudo apt-get install libasound2-dev libglew-dev libgles2-mesa-dev libalut-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libxxf86vm-dev",
},
{"name": "Check out code into the Go module directory", "uses": "actions/checkout@v1"},
{"name": "Test", "run": "make test"},
{"name": "Linter", "run": "make lint"},
],
},
},
}