uclahs-cds / Ligare

GNU General Public License v2.0
0 stars 0 forks source link

Upgrade to latest static analysis Action #59

Closed nwiltsie closed 5 months ago

nwiltsie commented 5 months ago

This PR replaces the existing CI/CD workflow in this repository with the Action-ified version from tool-static-analysis. Under the hood, the Action is using the exact same docker image to perform the checks, so this upgrade should have no visible change.

Turning the static analysis checks into an Action makes it much easier for your friendly neighborhood Infrastructure Team to make large-scale updates without opening pull requests in dozens or hundreds of repositories.

As an example, 247 workflows across the uclahs-cds organization are using actions/checkout@v2 or actions/checkout@v3. Those will stop working on May 13, 2024. This PR (and its dozens of identical siblings) centralize usage of tool-static-analysis@v1, which internally uses actions/checkout@v4. In the future, we will only need to update tool-static-analysis in order for all the repositories updated in this wave to reap the benefits.