Minor tweaks to the Github workflows.
[mailpopbox.git] / .github / workflows / ci.yml
1 name: CI
2
3 on:
4 push:
5 branches: [ master ]
6 pull_request:
7 branches: [ master ]
8
9 jobs:
10 build:
11 runs-on: ubuntu-latest
12 steps:
13 - uses: actions/checkout@v2
14 - uses: actions/setup-go@v2
15 with:
16 go-version: ^1.14
17 id: go
18 - run: go get -v -t -d ./...
19 - run: make
20 - uses: actions/upload-artifact@v2
21 with:
22 name: coverage
23 path: cover.html
24 - uses: actions/upload-artifact@v2
25 with:
26 name: mailpopbox-linux-amd64
27 path: mailpopbox-*-linux-amd64.zip
28 - uses: actions/upload-artifact@v2
29 with:
30 name: mailpopbox-mac-amd64
31 path: mailpopbox-*-mac-amd64.zip