-
Notifications
You must be signed in to change notification settings - Fork 15
68 lines (61 loc) · 1.65 KB
/
licenses.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: licenses
on:
push:
branches:
- master
- develop
- 'review/**'
- 'release/**'
- 'pr/**'
pull_request:
branches:
- master
- develop
- 'review/**'
- 'release/**'
- 'pr/**'
env:
GOVERSION: '1.18.4' # The Go version to download (if necessary) and use.
PROTOCVERSION: 3.17.3
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{env.GOVERSION}}
- name: Install Protoc
run: |
cd /tmp
PROTOCZIP=$(echo "protoc-${{env.PROTOCVERSION}}-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m).zip")
wget https://github.com/google/protobuf/releases/download/v${{env.PROTOCVERSION}}/$PROTOCZIP
sudo unzip -d /opt/protoc $PROTOCZIP
sudo chmod a+r -R /opt/protoc
sudo chmod a+xr /opt/protoc/bin/protoc
sudo ln -s /opt/protoc/bin/protoc /usr/local/bin/
- run: make rawci
- uses: oscarpicas/[email protected]
with:
goversion: ${{env.GOVERSION}}
- uses: actions/upload-artifact@v2
if: success()
with:
name: linux-build-info
path: |
go.mod
go.sum
licenses.csv
- uses: actions/upload-artifact@v2
if: failure()
with:
name: linux-artefacts
path: |
generation_results.log
vet_results.log
test_results.log
style_results.log
semgrep_results.log
go.mod
go.sum
licenses.csv