File tree Expand file tree Collapse file tree 10 files changed +20
-39
lines changed Expand file tree Collapse file tree 10 files changed +20
-39
lines changed Original file line number Diff line number Diff line change 19
19
options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
20
20
21
21
steps :
22
- - uses : actions/checkout@master
22
+ - uses : actions/checkout@v2
23
23
- uses : actions/setup-java@v1
24
24
with :
25
25
java-version : 11
Original file line number Diff line number Diff line change @@ -19,18 +19,18 @@ jobs:
19
19
options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
20
20
21
21
steps :
22
- - uses : actions/checkout@master
22
+ - uses : actions/checkout@v2
23
23
24
- - name : Set up Go 1.13
25
- uses : actions/setup-go@v1
24
+ - name : Set up Go 1.14
25
+ uses : actions/setup-go@v2
26
26
with :
27
- go-version : ' 1.13 '
27
+ go-version : ' 1.14 '
28
28
29
29
- run : go build ./...
30
30
working-directory : internal/endtoend/testdata
31
31
32
32
- name : Test sqlc
33
- run : go test --tags=examples,exp -v ./...
33
+ run : go test --tags=examples -v ./...
34
34
env :
35
35
PG_USER : postgres
36
36
PG_HOST : localhost
Original file line number Diff line number Diff line change 11
11
name : push kjconroy/sqlc:devel
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@master
14
+ - uses : actions/checkout@v2
15
15
- uses : docker/build-push-action@v1
16
16
with :
17
17
username : kjconroy
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ jobs:
13
13
name : release --platforms darwin
14
14
runs-on : macos-latest
15
15
steps :
16
- - uses : actions/checkout@master
17
- - name : Set up Go 1.13
18
- uses : actions/setup-go@v1
16
+ - uses : actions/checkout@v2
17
+ - name : Set up Go 1.14
18
+ uses : actions/setup-go@v2
19
19
with :
20
- go-version : ' 1.13 '
20
+ go-version : ' 1.14 '
21
21
- run : brew install eqnxio/equinox/release-tool
22
22
- name : equinox release
23
23
env :
@@ -30,11 +30,11 @@ jobs:
30
30
runs-on : ubuntu-latest
31
31
needs : [macos]
32
32
steps :
33
- - uses : actions/checkout@master
34
- - name : Set up Go 1.13
35
- uses : actions/setup-go@v1
33
+ - uses : actions/checkout@v2
34
+ - name : Set up Go 1.14
35
+ uses : actions/setup-go@v2
36
36
with :
37
- go-version : ' 1.13 '
37
+ go-version : ' 1.14 '
38
38
- run : curl -O https://bin.equinox.io/c/mBWdkfai63v/release-tool-stable-linux-amd64.tgz
39
39
- run : tar -xzvf release-tool-stable-linux-amd64.tgz
40
40
- name : equinox release
Original file line number Diff line number Diff line change 1
1
build :
2
- go build --tags=exp ./...
2
+ go build ./...
3
3
4
4
test :
5
- go test --tags=exp ./...
5
+ go test ./...
6
6
7
7
exp :
8
- SQLC_EXPERIMENTAL_PARSER=on go test --tags=exp ./...
8
+ SQLC_EXPERIMENTAL_PARSER=on go test ./...
9
9
10
10
sqlc-dev :
11
- go build -o ~ /bin/sqlc-dev --tags=exp ./cmd/sqlc/
11
+ go build -o ~ /bin/sqlc-dev ./cmd/sqlc/
12
12
13
13
regen : sqlc-dev
14
14
./scripts/regenerate.sh
Original file line number Diff line number Diff line change 1
1
module github.com/kyleconroy/sqlc
2
2
3
- go 1.13
3
+ go 1.14
4
4
5
5
require (
6
6
github.com/antlr/antlr4 v0.0.0-20200209180723-1177c0b58d07
Original file line number Diff line number Diff line change 1
- // +build exp
2
-
3
1
package compiler
4
2
5
3
import (
Original file line number Diff line number Diff line change 1
- // +build exp
2
-
3
1
package compiler
4
2
5
3
import (
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- // +build exp
2
-
3
1
package runtime
4
2
5
3
import (
You can’t perform that action at this time.
0 commit comments