Skip to content

Conversation

@WGH-
Copy link
Collaborator

@WGH- WGH- commented Jan 16, 2023

Upstream supports 1.19 and 1.18 right now, but let's be generous and also include 1.17.

This should fix CI, since Colly can't be built properly on 1.15 and older, and it has been this way for a while.

Also enable CI runs for pull requests, as it's good to know whether they're ok or not, and GitHub Actions are free anyway.

@WGH- WGH- force-pushed the fix-ci branch 2 times, most recently from 384e414 to 739b0d3 Compare January 16, 2023 00:56
@WGH- WGH- changed the title Update Go versions from CI Update Go versions on CI Jan 16, 2023
WGH- added 2 commits January 16, 2023 04:01
The result of running `go fmt ./...`.

See [1] for details.

[1] https://go.dev/doc/go1.19#go-doc
Upstream supports 1.19 and 1.18 right now, but let's be generous
and also include 1.17.

This should fix CI, since Colly can't be build properly on 1.15 and
older, and it has been this way for a while.

As of go install change, it's the correct way to install tools
since Go 1.16[1].

[1] https://go.dev/doc/go1.16#modules
WGH- added 2 commits January 16, 2023 04:26
This is a cleaner way than checking output.
@WGH- WGH- changed the title Update Go versions on CI Update CI configuration Jan 16, 2023
@WGH- WGH- requested a review from asciimoo January 16, 2023 01:34
@WGH- WGH- marked this pull request as ready for review January 16, 2023 01:35
Copy link
Member

@asciimoo asciimoo left a comment

Choose a reason for hiding this comment

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

Totally agree, useful changes, thanks!

@asciimoo asciimoo merged commit e853c5b into gocolly:master Jan 16, 2023
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.

2 participants