Skip to content

Commit

Permalink
cxgo: switch to Go 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
dennwc committed Nov 14, 2021
1 parent a5d05fe commit 8d378a6
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '1.16.x'
go-version: '1.17.x'
- name: actions/checkout
uses: actions/checkout@v2
- name: actions/cache
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '1.16.x'
go-version: '1.17.x'
- name: actions/checkout
uses: actions/checkout@v2
- name: actions/cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '1.16.x'
go-version: '1.17.x'
- name: Checkout
uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion cmd/cxgo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ func run(cmd *cobra.Command, args []string) error {
var buf bytes.Buffer
fmt.Fprintf(&buf, `module %s
go 1.16
go 1.17
require (
%s %s
Expand Down
2 changes: 1 addition & 1 deletion compile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func goProject(t testing.TB, out, cxgo string) {
require.NoError(t, err)

gomod := fmt.Sprintf(`module main
go 1.16
go 1.17
require (
github.com/gotranspile/cxgo v0.0.0-local
)
Expand Down
16 changes: 14 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
module github.com/gotranspile/cxgo

go 1.16
go 1.17

require (
git.maze.io/go/math32 v0.0.0-20181106113604-c78ed91899f1 // indirect
github.com/bmatcuk/doublestar v1.3.0
github.com/emicklei/dot v0.10.1
github.com/spf13/cobra v0.0.5
Expand All @@ -13,3 +12,16 @@ require (
modernc.org/cc/v3 v3.34.1-0.20210914102530-cf6502699529
modernc.org/token v1.0.0
)

require (
git.maze.io/go/math32 v0.0.0-20181106113604-c78ed91899f1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect
github.com/spf13/pflag v1.0.3 // indirect
gopkg.in/yaml.v2 v2.2.2 // indirect
lukechampine.com/uint128 v1.1.1 // indirect
modernc.org/mathutil v1.4.0 // indirect
modernc.org/strutil v1.1.1 // indirect
)
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down

0 comments on commit 8d378a6

Please sign in to comment.