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

Upgrade to latest static analysis Action #2

Merged
merged 1 commit into from
May 13, 2024
Merged

Conversation

nwiltsie
Copy link
Member

This PR replaces the outdated CI/CD workflow in this repository with the Action-ified version from tool-static-analysis. The docker image currently used by this repository, blcdsdockerregistry/cicd-base, was replaced last year by uclahs-cds/docker-CICD-base. Under the hood, the Action is using that updated image to perform the checks.

The main branch of this repo has no record of the old workflow being run, but my local tests say it should pass successfully.

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 this week. 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.

@nwiltsie nwiltsie merged commit 14f7954 into main May 13, 2024
5 checks passed
@nwiltsie nwiltsie deleted the nwiltsie-static-upgrade branch May 13, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant