-
Notifications
You must be signed in to change notification settings - Fork 73
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
Drop go 1.16 support & add go 1.20 #764
Conversation
@gaby looks good to me so far. But, I’m getting blurry eyed. I’ll run tests locally tomorrow just to see if anything odd comes up on actual macOS vs macOS-latest in the ci. Thanks for the PR! |
I just realized... These test are not actually running on each OS. They all have the same "runs-on" hardcoded to ubuntu-latest |
told you I’m getting blurry eyed. 🥱🛌 runs-on: ${{ matrix.platform }} |
|
We are running Docker containers for several test, and these are only support on Linux |
This reverts commit 4fff115.
Don't merge yet, I forgot to remove the platforms from each test. Most of the tests can only run in "ubuntu-latest". This will reduce the number of jobs created by the CI |
True and probably not worth the effort to install on the host, although many of them run multi-platform (Postgres, MySQL, redis etc). It’s probably safe to assume deployments are overwhelmingly using Linux based containers. examples of some actions that could allow us to use matrix runs-on in CI: https://github.com/marketplace/actions/setup-postgresql-for-linux-macos-windows |
Awesome, I will add those then. Removing the platforms reduce the number of tests down to less than 40 |
The same guy did a bunch, I guess he needed them for the same reason: https://github.com/ankane/setup-mysql#related-actions Anyway, I'm happy with the PR. Did you have more commits? |
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.
LGTM
@sixcolors Discussing on discord what to do about the missing platforms. |
go 1.16
from all storage driversgo 1.20
to test matrix of each storage drivermacos-latest
to test matrix of each storage drivergo mod tidy
on each driver