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 CI configuration #749

Merged
merged 4 commits into from
Jan 16, 2023
Merged

Update CI configuration #749

merged 4 commits into from
Jan 16, 2023

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
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
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.

None yet

2 participants