chore(deps-dev): update aquasecurity/trivy-action action to v0.34.2 #530
Workflow file for this run
This file contains hidden or 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: pr-build | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| permissions: | |
| packages: write | |
| contents: read | |
| statuses: read | |
| actions: write | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| profiles: ${{ steps.profiles.outputs.matrix }} | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 | |
| with: | |
| go-version: 1.26.x | |
| - name: build | |
| run: | | |
| go install | |
| cp -Rpv $(go list -m -f '{{.Dir}}' tailscale.com) tailscale | |
| sudo chmod 0755 tailscale/ && sudo chown -R $USER. tailscale/ | |
| cd tailscale | |
| CGO_ENABLED=0 go build -o derper ./cmd/derper/ |