File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 steps :
1919 - uses : actions/setup-go@v3
2020 with :
21- go-version : 1.18.x
21+ go-version : 1.19.4
2222 - uses : actions/checkout@v3
2323 # Run benchmark with `go test -bench` and stores the output to a file
2424 - name : Run benchmark
Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ jobs:
1212
1313 strategy :
1414 matrix :
15- go-version : [1.18.x ]
15+ go-version : [1.19.4 ]
1616 platform : [ubuntu-latest, macos-latest, windows-latest]
1717
1818 runs-on : ${{ matrix.platform }}
1919
2020 steps :
2121
2222 - name : Set up Go ${{ matrix.node-version }}
23- uses : actions/setup-go@v2
23+ uses : actions/setup-go@v3
2424 with :
2525 go-version : ${{ matrix.go-version }}
2626
@@ -44,13 +44,12 @@ jobs:
4444 runs-on : ubuntu-latest
4545 steps :
4646 - name : Install Go
47- uses : actions/setup-go@v2
47+ uses : actions/setup-go@v3
4848 with :
49- go-version : 1.18.x
49+ go-version : 1.19.4
5050
5151 - name : Checkout code
5252 uses : actions/checkout@v2
5353
5454 - name : Check Code Formatting
5555 run : find . -name "*.go" | while read line; do [ -z "$(gofmt -d "$line" | head)" ] || exit 1; done
56-
Original file line number Diff line number Diff line change 1212
1313 steps :
1414 - name : Set up Go
15- uses : actions/setup-go@v2
15+ uses : actions/setup-go@v3
1616 with :
17- go-version : 1.18.x
17+ go-version : 1.19.4
1818
1919 - name : Check out code
2020 uses : actions/checkout@v2
3838 repo_token : " ${{ secrets.GITHUB_TOKEN }}"
3939 draft : true
4040 prerelease : false
41- files : dist/*
41+ files : dist/*
Original file line number Diff line number Diff line change @@ -149,6 +149,13 @@ func TestCache(t *testing.T) {
149149 require .NoError (t , err )
150150 _ , err = cache .Bugs ().ResolvePrefix (bug1 .Id ().String ()[:10 ])
151151 require .NoError (t , err )
152+
153+ // Close
154+ require .NoError (t , cache .Close ())
155+ require .Empty (t , cache .bugs .cached )
156+ require .Empty (t , cache .bugs .excerpts )
157+ require .Empty (t , cache .identities .cached )
158+ require .Empty (t , cache .identities .excerpts )
152159}
153160
154161func TestCachePushPull (t * testing.T ) {
Original file line number Diff line number Diff line change 11module github.com/MichaelMure/git-bug
22
3- go 1.18
3+ go 1.19
44
55require (
66 github.com/99designs/gqlgen v0.17.20
You can’t perform that action at this time.
0 commit comments