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

test branch #983

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
unit-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04:20250105.1.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The runs-on value should use the correct syntax for specifying the runner image. It should be [email protected] instead of ubuntu-24.04:20250105.1.0. The colon (:) should be replaced with an at symbol (@).

steps:
- name: Checkout the repository
uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 #v4.0.0
Expand All @@ -14,6 +14,7 @@ jobs:
with:
go-version-file: go.mod
- run: go version
- run: docker version

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The addition of docker version command seems unrelated to the rest of the workflow. Please provide context for why this is necessary, and ensure it aligns with the workflow's purpose.

- name: go test with coverage
run: |
sudo chmod +x ./internal/commands/.scripts/up.sh
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

</div>

<!-- PROJECT LOGO -->
<!-- PROJECT LOGO -->
<br />
<p align="center">
<a href="">
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const (
containerVolumeFlag = "-v"
containerNameFlag = "--name"
containerRemove = "--rm"
containerImage = "checkmarx/kics:latest"
containerImage = "checkmarx/kics:v2.1.3"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The container image tag has been changed to include a v prefix. Ensure that the tag v2.1.3 exists in the container registry and is the correct version intended for use. If this is a new tagging convention, update any documentation or scripts that reference the old tag format to prevent confusion.

containerScan = "scan"
containerScanPathFlag = "-p"
containerScanPath = "/path"
Expand Down
Loading