File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ permissions :
8+ contents : read
9+
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-go@v5
16+ with :
17+ go-version : ' 1.27.x'
18+ cache : false
19+ - run : go build ./...
20+ - run : make -B sql.go
21+ - run : git diff --exit-code -- sql.go
22+ - run : go vet ./...
23+ - run : go test -count=1 ./...
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515MAKEFLAGS = -s
16+ GOYACC = go run golang.org/x/tools/cmd/goyacc@v0.0.0-20180926032708-9eb9690e392a
1617
1718sql.go : sql.y
18- goyacc -o sql.go sql.y
19+ $( GOYACC ) -o sql.go sql.y
1920 gofmt -w sql.go
2021
2122clean :
Original file line number Diff line number Diff line change 22
33Go package for parsing SQLite or SQL-92 queries.
44
5+ The module builds with Go 1.11 and later. Regenerating ` sql.go ` with
6+ ` make -B sql.go ` requires Go 1.17 or later for versioned ` go run ` support.
7+ The Makefile pins the generator that reproduces the committed parser byte
8+ for byte.
9+
510## Notice
611
712The backbone of this repo is extracted from [ vitessio/vitess] ( https://github.com/vitessio/vitess ) .
Original file line number Diff line number Diff line change 1+ module github.com/CovenantSQL/sqlparser
2+
3+ go 1.11
You can’t perform that action at this time.
0 commit comments