Add disabled to action API and moved cond to UI routes #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |