-
-
Notifications
You must be signed in to change notification settings - Fork 57
Bump golang.org/x/net from 0.23.0 to 0.38.0 #129
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| * text=auto eol=lf | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. TIL this file is a thing 💡 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, have to do this a lot when switching between Windows and Linux |
||
|
|
||
| # Keep Windows-only scripts with CRLF if they ever appear | ||
| *.bat text eol=crlf | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ on: | |
| branches: [main] | ||
|
|
||
| env: | ||
| GO_VERSION: '1.20' | ||
| GO_VERSION: '1.23' | ||
|
|
||
| jobs: | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| version: 2 | ||
|
|
||
| issues: | ||
| exclude-rules: | ||
| - linters: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -63,6 +63,7 @@ func (m HazardPitsMap) SetupBoard(initialBoardState *rules.BoardState, settings | |
|
|
||
| tempBoardState := rules.NewBoardState(initialBoardState.Width, initialBoardState.Height) | ||
| tempBoardState.Snakes = make([]rules.Snake, len(snakeIDs)) | ||
| tempEditor := NewBoardStateEditor(tempBoardState) | ||
|
|
||
| for i := 0; i < len(snakeIDs); i++ { | ||
| tempBoardState.Snakes[i] = rules.Snake{ | ||
|
|
@@ -79,7 +80,7 @@ func (m HazardPitsMap) SetupBoard(initialBoardState *rules.BoardState, settings | |
| } | ||
| } | ||
|
|
||
| err := rules.PlaceFoodFixed(rand, tempBoardState) | ||
| err := PlaceFoodFixed(rand, tempBoardState, tempEditor) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @xtagon any idea why it's suggesting this change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I made that change to make the lint pass, it said the old way was deprecated There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will this break the map behavior? I didn't test this map specifically |
||
| if err != nil { | ||
| return err | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xtagon What's going on here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some Go package expects expects the VCS to be available during build and was throwing an error because I was running in the dev container. This allows git to work in the dev container in the workspace directory.
I think there's a way to handle that with a Go flag to not use VCSbuild if you prefer