fix(remote): bound default SQLite bundle chunks #224
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] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - run: GOWORK=off go mod tidy | |
| - run: git diff --exit-code -- go.mod go.sum | |
| - run: GOWORK=off go vet ./... | |
| - run: | | |
| output_file=$(mktemp) | |
| GOWORK=off go run golang.org/x/tools/cmd/deadcode@v0.46.0 -test ./... > "$output_file" | |
| if [ -s "$output_file" ]; then | |
| cat "$output_file" | |
| exit 1 | |
| fi | |
| - run: GOWORK=off go run golang.org/x/vuln/cmd/govulncheck@v1.4.0 ./... | |
| - run: GOWORK=off go test ./... | |
| - run: GOWORK=off go test -race ./... | |
| - run: bash scripts/test-crawlctl-release.sh | |
| windows-test: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - run: go test ./... | |
| env: | |
| GOWORK: "off" |