Closed
Description
Description:
The DevSkim-Action GitHub Action has started failing unexpectedly in our workflows due to a .NET version mismatch in the Docker build process. The action has not been updated in 10+ months, but something seems to have changed, causing a breaking issue.
Steps to Reproduce:
- Use the latest DevSkim-Action in a GitHub Actions workflow.
- The action attempts to build its Docker image using .NET SDK 7.0.
- The build fails when trying to install Microsoft.CST.DevSkim.CLI, as the latest version (1.0.52) only supports .NET 8.0+.
Observed Behavior:
The following error occurs during the Docker build:
error NU1202: Package Microsoft.CST.DevSkim.CLI 1.0.52 is not compatible with net7.0 (.NETCoreApp,Version=v7.0) / any.
Package Microsoft.CST.DevSkim.CLI 1.0.52 supports:
- net8.0 (.NETCoreApp,Version=v8.0) / any
- net9.0 (.NETCoreApp,Version=v9.0) / any
Can this action be updated to support .NET 8.0+, or is there a recommended workaround from the maintainers?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels