Explorar o código

Add -s -w flags to go build

ayn2op %!s(int64=2) %!d(string=hai) anos
pai
achega
260fe3718a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .github/workflows/ci.yml

+ 1 - 1
.github/workflows/ci.yml

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