From 09d2c3b68e59fe8bd2caf3110e8d8c637109383a Mon Sep 17 00:00:00 2001 From: ayn2op Date: Tue, 16 Dec 2025 19:56:37 -0500 Subject: [PATCH] ci: add -trimpath flag to go build flags --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dba699e..a5a9a38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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) }}