Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

add CI: build, vet, lint, test + release binaries on tag

L864abed9b1f1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 00000000..0ee9c0cc
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,89 @@
+name: CI
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+ branches: [main]
+
+jobs:
+ build:
+ name: Build & Vet
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ go-version: ['1.24', '1.25']
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: actions/setup-go@v5
+ with:
+ go-version: ${{ matrix.go-version }}
+
+ - name: Download deps
+ run: go mod download
+
+ - name: Vet
+ run: go vet ./...
+
+ - name: Build
+ run: go build -o pinchtab .
+
+ - name: Test
+ run: go test ./... -v -count=1
+
+ lint:
+ name: Lint
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: actions/setup-go@v5
+ with:
+ go-version: '1.25'
+
+ - name: golangci-lint
+ uses: golangci/golangci-lint-action@v6
+ with:
+ version: latest
+
+ release:
+ name: Release Binaries
+ if: startsWith(github.ref, 'refs/tags/v')
+ needs: [build, lint]
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ strategy:
+ matrix:
+ include:
+ - goos: linux
+ goarch: amd64
+ - goos: linux
+ goarch: arm64
+ - goos: darwin
+ goarch: amd64
+ - goos: darwin
+ goarch: arm64
+ - goos: windows
+ goarch: amd64
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: actions/setup-go@v5
+ with:
+ go-version: '1.25'
+
+ - name: Build
+ env:
+ GOOS: ${{ matrix.goos }}
+ GOARCH: ${{ matrix.goarch }}
+ run: |
+ EXT=""
+ if [ "$GOOS" = "windows" ]; then EXT=".exe"; fi
+ go build -ldflags="-s -w" -o "pinchtab-${GOOS}-${GOARCH}${EXT}" .
+
+ - name: Upload to release
+ uses: softprops/action-gh-release@v2
+ with:
+ files: pinchtab-*