Update jsng-ci.yml to use multiple ubuntu versions #536
+16
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
as currently, our CI build fails on ubuntu 20.04, this PR makes these changes to our workflow (fix the issue and also introduce important improvements):
Related Issues
actions/toolkit#535
actions/toolkit#540
actions/toolkit#521
Important note regard PR checks failing on CI:
the main idea to use continue-on-error is that if an allowed job failure fails (such as in the case of experimental jobs in this workflow), it means that that job should get a red X, but the overall workflow should not.
however, on the PR page, it's rather confusing, and it looks like the CI broke when it did not and actually the whole workflow is still marked as successful when looking in the Actions tab (see the screenshot).
this is because of an ongoing open issue on GitHub Actions repo: actions/runner#2347. so we can merge this PR and benefit from the improvements of the suggested CI workflow and - for now - ignore the UI indication in the PR page as the main jobs passed, and only experimental job/s was failed.