chore: bump mobile build number to 2026071706 for v1.3.162 #1417
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| env: | |
| CGO_ENABLED: 0 | |
| GOTOOLCHAIN: local | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - run: go mod download | |
| - run: go build -tags goolm -o /tmp/ggcode ./cmd/ggcode | |
| - run: go vet -tags goolm ./... | |
| - run: git config --global user.name "CI" && git config --global user.email "[email protected]" | |
| - run: GOMEMLIMIT=2GiB GOGC=50 go test -tags goolm -p 1 -timeout 300s ./cmd/... ./internal/... | |
| lint: | |
| name: Format | |
| runs-on: ubuntu-latest | |
| env: | |
| CGO_ENABLED: 0 | |
| GOTOOLCHAIN: local | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - run: test -z "$(gofmt -l .)" |