File tree Expand file tree Collapse file tree 1 file changed +4
-23
lines changed Expand file tree Collapse file tree 1 file changed +4
-23
lines changed Original file line number Diff line number Diff line change 5
5
6
6
jobs :
7
7
push :
8
- strategy :
9
- matrix :
10
- go-version : [1.13.x]
11
- platform : [ubuntu-18.04]
12
- runs-on : ${{ matrix.platform }}
13
- env :
14
- GO111MODULE : " on"
8
+ runs-on : ubuntu-20.04
15
9
16
10
steps :
17
11
- name : Install Go
18
12
19
13
with :
20
- go-version : ${{ matrix.go-version }}
14
+ go-version : 1.16
21
15
- name : Install libgtk-3-dev
22
- if : matrix.platform == 'ubuntu-18.04'
23
- run : |
24
- sudo apt-get update -y
25
- sudo apt-get install -y libgtk-3-dev
26
- - name : Install goversioninfo
27
- shell : bash
28
- run : |
29
- export GOPATH="${HOME}/go"
30
- mkdir -p ${GOPATH}/bin
31
- mkdir -p ${GOPATH}/pkg
32
- mkdir -p ${GOPATH}/src
33
- go get github.com/josephspurrier/goversioninfo/cmd/goversioninfo@63e6d1acd3dd857ec6b8c54fbf52e10ce24a8786
16
+ run : sudo apt-get update -y && sudo apt-get install -y libgtk-3-dev
34
17
- name : Checkout repository
35
18
36
- - name : Test and build
19
+ - name : Build
37
20
shell : bash
38
21
run : |
39
- export GOPATH="${HOME}/go"
40
- export PATH="${GOPATH}/bin:${PATH}"
41
22
make test
42
23
make copy-test-files
43
24
make
You can’t perform that action at this time.
0 commit comments