-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (48 loc) · 1.08 KB
/
pal-ci.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
name: pal
on:
push:
branches:
- main
- develop
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
GOPATH: /home/runner/go
GOBIN: /home/runner/go/bin
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Up Golang
uses: actions/setup-go@v5
with:
go-version: ">=1.23.2"
- name: Run Linters
run: |
make install-deps
echo
make lint
- name: Build pal Binary and Packages
run: |
make pkg
file ./pal
du -sh ./pal
sha256sum ./pal
./pal -h
- name: Build pal Docker Container
run: |
make certs
echo
make docker
rm -f ./localhost.*
- name: Run Tests Using pal Docker Container
run: |
make test
- name: Run Vulnerability Scanner On Filesystem
uses: aquasecurity/[email protected]
with:
scan-type: "fs"
scan-ref: "."
severity: HIGH,CRITICAL