Troubleshoot install-linters #7
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: ${{ github.workspace }}/go | |
GOBIN: ${{ github.workspace }}/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-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 |