constellation icon indicating copy to clipboard operation
constellation copied to clipboard

Improvements to GitHub Actions

Open arcturus2 opened this issue 2 years ago • 0 comments

Prerequisites

  • [X] Reviewed the checklist

  • [X] Reviewed feedback from the "Sonar Cloud" bot. Note that you have to wait for the "CI / Unit Tests") to complete first. Failed Unit tests can be debugged by adding the label "verbose logging" to the GitHub PR.

Description of the Change

Based on work done in https://github.com/constellation-app/constellation-applications/pull/8 I have updated the GitHub actions here to align with this. Some improvements are as follows:

  • Use the base Ubuntu image for most of the work
  • Use addnab/docker-run-action@v3 to run the docker image
  • :racehorse: Reuse Ivy caching
  • Minor label improvements

Alternate Designs

Why Should This Be In Core?

Benefits

The .ivy2 cache was not being restored which meant dependencies were being downloaded in every release. This has been fixed to work which saves 1.5 minutes off the build time

Some quality of life improvements which should make it easier to read the workflows and maintain them in the future

Possible Drawbacks

Verification Process

Applicable Issues

arcturus2 avatar Jun 08 '22 11:06 arcturus2