Skip to content

Commit 4d17445

Browse files
authored
servegit: use service from sourcegraph/lib (#557)
This version was duplicated into sourcegraph and then improved. It now has been moved into the shared library for us to use. Note: The updated lib dependency uses APIs only in go1.16. So we need to drop support for 1.15 for CI to work.
1 parent 7d96ca5 commit 4d17445

File tree

6 files changed

+271
-284
lines changed

6 files changed

+271
-284
lines changed

.github/workflows/go-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
go-test:
88
strategy:
99
matrix:
10-
go-version: [1.15.x, 1.16.x]
10+
go-version: [1.16.x]
1111
os: [ubuntu-latest, macos-latest, windows-latest]
1212
runs-on: ${{ matrix.os }}
1313
steps:

go.mod

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/sourcegraph/src-cli
22

3-
go 1.13
3+
go 1.16
44

55
require (
66
github.com/Masterminds/semver v1.5.0
@@ -22,13 +22,12 @@ require (
2222
github.com/sourcegraph/batch-change-utils v0.0.0-20210309183117-206c057cc03e
2323
github.com/sourcegraph/go-diff v0.6.1
2424
github.com/sourcegraph/jsonx v0.0.0-20200629203448-1a936bd500cf
25-
github.com/sourcegraph/sourcegraph/lib v0.0.0-20210520231824-520a2ae26af0
25+
github.com/sourcegraph/sourcegraph/lib v0.0.0-20210622093026-6470ff817296
2626
github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect
2727
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
28-
golang.org/x/net v0.0.0-20201021035429-f5854403a974
29-
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
30-
golang.org/x/sys v0.0.0-20210426080607-c94f62235c83 // indirect
31-
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776
28+
golang.org/x/net v0.0.0-20210614182718-04defd469f4e
29+
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
30+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
3231
jaytaylor.com/html2text v0.0.0-20200412013138-3577fbdbcff7
3332
)
3433

0 commit comments

Comments
 (0)