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

[ci] ensure correct R version is used on GitHub Actions (fixes #5640) #6107

Merged
merged 6 commits into from
Sep 20, 2023

Conversation

jameslamb
Copy link
Collaborator

@jameslamb jameslamb commented Sep 19, 2023

Fixes #5640.

Adds checks to the Windows R-package CI jobs to ensure that we're alerted if the jobs accidentally start relying on an unexpected version of R, e.g. the version installed by GitHub Actions in its images.

How I tested this

Started by intentionally breaking this, to be sure it will loudly break builds.

Wrong R version was found (expected '3.6.3'). Check the build logs.

(build link)

Then pushed changes to fix it, and saw them succeed.

(build link)

@jameslamb jameslamb changed the title WIP: [ci] ensure correct R version is used on GitHub Actions (fixes #5640) [ci] ensure correct R version is used on GitHub Actions (fixes #5640) Sep 20, 2023
@jameslamb jameslamb marked this pull request as ready for review September 20, 2023 03:16
@jameslamb jameslamb merged commit fe7f8fe into master Sep 20, 2023
@jameslamb jameslamb deleted the ci/r-version branch September 20, 2023 15:31
Copy link

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ci] [R-package] incorrect R version being used on some R-package CI jobs
2 participants