forked from foxis/itohi
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 846 Bytes
/
test.yml
File metadata and controls
42 lines (35 loc) · 846 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Run Tests
on:
push:
paths-ignore:
- 'docker-compose.yml'
- 'dev.env'
- 'dev.Dockerfile'
- 'README.md'
pull_request:
paths-ignore:
- 'docker-compose.yml'
- 'dev.env'
- 'dev.Dockerfile'
- 'README.md'
jobs:
build:
strategy:
matrix:
go-version:
- 1.19.x
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
# These are needed for Fyne
- name: Setup dependencies
run: sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev
- name: Test
run: go test ./...