Skip to content

Enable Snyk Test Workflow in GitHub Actions#253

Merged
simonhkhan merged 1 commit intodevelopfrom
feature/PODAAC-6910
Jun 2, 2025
Merged

Enable Snyk Test Workflow in GitHub Actions#253
simonhkhan merged 1 commit intodevelopfrom
feature/PODAAC-6910

Conversation

@simonhkhan
Copy link
Contributor

Overview

  • Runs Snyk tests when any commits are pushed to branches develop, release/**, feature/**, master, main

Updates

  • Adds github action step to install Snyk CLI to run the snyk test command. This was done since running the Snyk CLI commands will leverage the JAVA environment that was already built in previous steps.
  • Adds github action step to run the Snyk test using the CLI command. Adds a 90 second timeout in case the CLI test scan hangs.
  • Updates gradle build step to disable the cache since a network issue was preventing access to the cache which failed the build step. The build step takes ~10 seconds with the cache disabled.

Github Action Build

https://github.com/podaac/cumulus-cnm-response-task/actions/runs/15403192183/job/43340395465
Screenshot 2025-06-02 at 2 43 01 PM

@simonhkhan simonhkhan self-assigned this Jun 2, 2025
@simonhkhan simonhkhan merged commit d0035c7 into develop Jun 2, 2025
3 checks passed
@simonhkhan simonhkhan deleted the feature/PODAAC-6910 branch June 2, 2025 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants