ci: add -trimpath flag to go build flags

This commit is contained in:
ayn2op 2025-12-16 19:56:37 -05:00
parent 9750475418
commit 09d2c3b68e

View file

@ -21,7 +21,7 @@ jobs:
run: sudo apt install libx11-dev
- name: Build
run: go build -ldflags "-s -w" .
run: go build -trimpath -ldflags=-s .
- uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}