-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (44 loc) · 1021 Bytes
/
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
name: pal
on:
push:
branches:
- main
- develop
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
GOPATH: ${{ github.workspace }}/go
GOBIN: ${{ github.workspace }}/go/bin
PATH: $PATH:$GOBIN
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-linters
echo
make lint
- name: Build pal Binary
run: |
make linux
- name: Build pal Docker Container
run: |
make certs
echo
make docker
- 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