Skip to content

Commit d1e44c2

Browse files
committed
Update push pipeline
1 parent ef4477f commit d1e44c2

File tree

1 file changed

+4
-23
lines changed

1 file changed

+4
-23
lines changed

.github/workflows/push.yml

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,20 @@ on:
55

66
jobs:
77
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
159

1610
steps:
1711
- name: Install Go
1812
uses: actions/[email protected]
1913
with:
20-
go-version: ${{ matrix.go-version }}
14+
go-version: 1.16
2115
- 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
3417
- name: Checkout repository
3518
uses: actions/[email protected]
36-
- name: Test and build
19+
- name: Build
3720
shell: bash
3821
run: |
39-
export GOPATH="${HOME}/go"
40-
export PATH="${GOPATH}/bin:${PATH}"
4122
make test
4223
make copy-test-files
4324
make

0 commit comments

Comments
 (0)