Skip to content

chore(deps-dev): update actions/upload-artifact action to v4.6.0 #79

chore(deps-dev): update actions/upload-artifact action to v4.6.0

chore(deps-dev): update actions/upload-artifact action to v4.6.0 #79

Workflow file for this run

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@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: 1.22.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/