Fix .gitignore ignoring cmd/syncwarden directory
All checks were successful
Release / build (push) Successful in 1m9s

The pattern 'syncwarden' matched cmd/syncwarden/ too.
Anchor binary patterns to repo root with leading slash.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Axel Meyer
2026-03-03 21:33:47 +01:00
parent 9f0780cc6a
commit 3f6b3c20e0
3 changed files with 12 additions and 11 deletions

View File

@@ -27,14 +27,6 @@ jobs:
go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.41.1
echo "$GOPATH/bin" >> $GITHUB_PATH
- name: Debug workspace
run: |
echo "pwd: $(pwd)"
echo "go version: $(go version)"
ls -la
ls -la cmd/
cat go.mod
- name: Build Linux binaries
run: |
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w" -o syncwarden ./cmd/syncwarden