style: replace em/en dashes with hyphens #4
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: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| go-version: ["1.21", "1.22", "1.23"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Install build dependencies | |
| run: sudo apt-get update && sudo apt-get install -y build-essential | |
| - name: Build | |
| run: CGO_ENABLED=1 go build -tags sqlite_fts5 ./... | |
| - name: Vet | |
| run: go vet -tags sqlite_fts5 ./... | |
| - name: Test | |
| run: CGO_ENABLED=1 go test -tags sqlite_fts5 -race -count=1 ./... |