Commit 9f8706b 1 parent 41ae215 commit 9f8706b Copy full SHA for 9f8706b
File tree 4 files changed +73
-73
lines changed
4 files changed +73
-73
lines changed Original file line number Diff line number Diff line change @@ -2,35 +2,33 @@ name: sqac-build
2
2
3
3
on :
4
4
push :
5
- branches : [ master ]
5
+ branches : [master]
6
6
pull_request :
7
- branches : [ master ]
7
+ branches : [master]
8
8
schedule :
9
- - cron : ' */15 * * * *'
9
+ - cron : " */15 * * * *"
10
10
11
11
jobs :
12
-
13
12
build :
14
13
name : Build
15
14
runs-on : ubuntu-latest
16
15
steps :
16
+ - name : Set up Go 1.x
17
+ uses : actions/setup-go@v2
18
+ with :
19
+ go-version : ^1.14
20
+ id : go
17
21
18
- - name : Set up Go 1.x
19
- uses : actions/setup-go@v2
20
- with :
21
- go-version : ^1.13
22
- id : go
23
-
24
- - name : Check out code into the Go module directory
25
- uses : actions/checkout@v2
22
+ - name : Check out code into the Go module directory
23
+ uses : actions/checkout@v2
26
24
27
- - name : Get dependencies
28
- run : |
29
- go get -v -t -d ./...
30
- if [ -f Gopkg.toml ]; then
31
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
32
- dep ensure
33
- fi
25
+ - name : Get dependencies
26
+ run : |
27
+ go get -v -t -d ./...
28
+ if [ -f Gopkg.toml ]; then
29
+ curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
30
+ dep ensure
31
+ fi
34
32
35
- - name : Build
36
- run : go build -v .
33
+ - name : Build
34
+ run : go build -v .
Original file line number Diff line number Diff line change @@ -2,41 +2,41 @@ name: rel
2
2
3
3
on :
4
4
push :
5
- tags :
5
+ tags :
6
6
- " v*"
7
7
8
8
jobs :
9
9
build :
10
10
name : Build
11
11
runs-on : ubuntu-latest
12
12
steps :
13
+ - name : Set up Go 1.x
14
+ uses : actions/setup-go@v2
15
+ with :
16
+ go-version : ^1.14
17
+ id : go
13
18
14
- - name : Set up Go 1.x
15
- uses : actions/setup-go@v2
16
- with :
17
- go-version : ^1.14
18
- id : go
19
+ - name : Check out code into the Go module directory
20
+ uses : actions/checkout@v2
19
21
20
- - name : Check out code into the Go module directory
21
- uses : actions/checkout@v2
22
+ - name : Get dependencies
23
+ run : |
24
+ go get -v -t -d ./...
25
+ if [ -f Gopkg.toml ]; then
26
+ curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
27
+ dep ensure
28
+ fi
22
29
23
- - name : Get dependencies
24
- run : |
25
- go get -v -t -d ./...
26
- if [ -f Gopkg.toml ]; then
27
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
28
- dep ensure
29
- fi
30
+ - name : Build
31
+ run : go build -v .
30
32
31
- - name : Build
32
- run : go build -v .
33
+ - name : Test
34
+ run : go test -v -db sqlite .
33
35
34
- - name : Test
35
- run : go test -v .
36
-
37
- - name : Release
38
- uses : softprops/action-gh-release@v1
39
- if : startsWith(github.ref, 'refs/tags/')
40
- # with:
41
- env :
36
+ - name : Release
37
+ uses : softprops/action-gh-release@v1
38
+ if : startsWith(github.ref, 'refs/tags/')
39
+ with :
40
+ body_path : CHANGELOG.txt
41
+ env :
42
42
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,38 +2,36 @@ name: sqac-test
2
2
3
3
on :
4
4
push :
5
- branches : [ master ]
5
+ branches : [master]
6
6
pull_request :
7
- branches : [ master ]
7
+ branches : [master]
8
8
schedule :
9
- - cron : ' */15 * * * *'
9
+ - cron : " */15 * * * *"
10
10
11
11
jobs :
12
-
13
12
build :
14
13
name : Build
15
14
runs-on : ubuntu-latest
16
15
steps :
17
-
18
- - name : Set up Go 1.x
19
- uses : actions/setup-go@v2
20
- with :
21
- go-version : ^1.13
22
- id : go
23
-
24
- - name : Check out code into the Go module directory
25
- uses : actions/checkout@v2
26
-
27
- - name : Get dependencies
28
- run : |
29
- go get -v -t -d ./...
30
- if [ -f Gopkg.toml ]; then
31
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
32
- dep ensure
33
- fi
34
-
35
- - name : Build
36
- run : go build -v .
37
-
38
- - name : Test
39
- run : go test -v -db sqlite .
16
+ - name : Set up Go 1.x
17
+ uses : actions/setup-go@v2
18
+ with :
19
+ go-version : ^1.14
20
+ id : go
21
+
22
+ - name : Check out code into the Go module directory
23
+ uses : actions/checkout@v2
24
+
25
+ - name : Get dependencies
26
+ run : |
27
+ go get -v -t -d ./...
28
+ if [ -f Gopkg.toml ]; then
29
+ curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
30
+ dep ensure
31
+ fi
32
+
33
+ - name : Build
34
+ run : go build -v .
35
+
36
+ - name : Test
37
+ run : go test -v -db sqlite .
Original file line number Diff line number Diff line change
1
+ v0.0.2
2
+ - update build and test workflows to use go v1.14
3
+ - add CHANGELOG.txt
4
+ - update release workflow to correctly execute a sqlite3 test
You can’t perform that action at this time.
0 commit comments