forked from github-linguist/linguist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update grammar compiler to use Go 1.20 (github-linguist#6296)
* Use Go 1.20 for grammar compiler * Add Go workspace file This makes it easier to dev the compiler in VSCode from the repo's base dir
- Loading branch information
Showing
3 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
go 1.20 | ||
|
||
use ./tools/grammars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
) |