Skip to content

Conversation

@ccoVeille
Copy link
Contributor

The code can be used with old Go versions.

The CI will also run tests for Go 1.18 and latest -rc versions.

Fixed #42

@ccoVeille
Copy link
Contributor Author

ok, so the code modernization detection break things here...

@codecov
Copy link

codecov bot commented Jul 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ccoVeille ccoVeille force-pushed the go-version branch 2 times, most recently from aba48bb to 4f7700b Compare July 25, 2025 16:10
@ccoVeille ccoVeille force-pushed the go-version branch 9 times, most recently from 4d4ddf8 to aed133b Compare July 25, 2025 17:11
Copy link
Contributor

@Andrei-hub11 Andrei-hub11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the only thing left is to update the version badge in the README.

@ccoVeille
Copy link
Contributor Author

Does your code change about ANSI windows work if you cherry pick temporarily my commit into your branch ?

@Andrei-hub11
Copy link
Contributor

I cherry-picked your commit but ran into a dependency issue. The cherry-pick worked fine, but when I run go mod tidy, it automatically upgrades from go 1.18 to go 1.23.0 because the dependencies require it:

golang.org/x/sys@v0.34.0 requires go@1.23.0
golang.org/x/term@v0.33.0 requires go@1.23.0

@ccoVeille
Copy link
Contributor Author

Yes, I was worried about it

@ccoVeille
Copy link
Contributor Author

@Andrei-hub11 could you tell me if this solves the issue?

go mod tidy -go=1.18

@Andrei-hub11
Copy link
Contributor

usage: go mod tidy [-e] [-v] [-x] [-diff] [-go=version] [-compat=version]
Run 'go help mod tidy' for details.```

The code can be used with old Go versions.

The CI will also run tests for Go 1.18 and latest -rc versions.
@Akkadius Akkadius merged commit 4f0dbb8 into goforj:main Aug 11, 2025
7 checks passed
@ccoVeille ccoVeille deleted the go-version branch August 11, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Downgrade the lowest supported Go version

3 participants