Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Run Gosec Security Scanner
run: |
export PATH=$PATH:$(go env GOPATH)/bin
go install github.com/securego/gosec/v2/cmd/gosec@v2.20.0
go install github.com/securego/gosec/v2/cmd/gosec@v2.22.7
bash ./run_gosec.sh
if [[ $? != 0 ]]
then
Expand Down
2 changes: 1 addition & 1 deletion generator/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/devfile/api/generator

go 1.22
go 1.24

require (
github.com/coreos/go-semver v0.3.1
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/devfile/api/v2

go 1.22.0
go 1.24

require (
github.com/ghodss/yaml v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion run_gosec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

if ! command -v gosec 2> /dev/null
then
echo "error gosec must be installed with this command: go install github.com/securego/gosec/v2/cmd/gosec@v2.14.0" && exit 1
echo "error gosec must be installed with this command: go install github.com/securego/gosec/v2/cmd/gosec@v2.22.7" && exit 1
fi

gosec -no-fail -fmt=sarif -out=gosec.sarif -exclude-dir test -exclude-dir generator ./...
2 changes: 1 addition & 1 deletion test/v200/utils/api/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func RunTest(testContent commonUtils.TestContent, t *testing.T) {

testDevfile, err := commonUtils.GetDevfile(testContent.FileName, nil, validator)
if err != nil {
t.Fatalf(commonUtils.LogMessage(fmt.Sprintf("Error creating devfile : %v", err)))
t.Fatal(commonUtils.LogMessage(fmt.Sprintf("Error creating devfile : %v", err)))
}

testDevfile.RunTest(testContent, t)
Expand Down
2 changes: 1 addition & 1 deletion test/v200/utils/common/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func (testDevfile *TestDevfile) RunTest(testContent TestContent, t *testing.T) {

err := testDevfile.Validator.WriteAndValidate(testDevfile)
if err != nil {
t.Fatalf(LogErrorMessage(fmt.Sprintf("ERROR verifying devfile : %s : %v", testContent.FileName, err)))
t.Fatal(LogErrorMessage(fmt.Sprintf("ERROR verifying devfile : %s : %v", testContent.FileName, err)))
}

}
Loading