Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update grammar compiler to use Go 1.20 #6296

Merged
merged 2 commits into from
Feb 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions go.work
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
go 1.20

use ./tools/grammars
2 changes: 1 addition & 1 deletion tools/grammars/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16
FROM golang:1.20

WORKDIR /go/src/github.com/github/linguist/tools/grammars

Expand Down
17 changes: 12 additions & 5 deletions tools/grammars/go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
module github.com/github/linguist/tools/grammars

go 1.16
go 1.20

require (
github.com/fatih/color v1.12.0 // indirect
github.com/golang/protobuf v0.0.0-20171113180720-1e59b77b52bf
github.com/groob/plist v0.0.0-20171013152701-7b367e0aa692
github.com/mattn/go-runewidth v0.0.2 // indirect
github.com/mitchellh/mapstructure v0.0.0-20171017171808-06020f85339e
github.com/urfave/cli/v2 v2.3.0
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/cheggaaa/pb.v1 v1.0.18
gopkg.in/yaml.v2 v2.2.8
)

require (
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect
github.com/fatih/color v1.12.0 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mattn/go-runewidth v0.0.2 // indirect
github.com/russross/blackfriday/v2 v2.0.1 // indirect
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
)