Skip to content
Open
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
18 changes: 15 additions & 3 deletions .github/workflows/golang-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Github Actions - Golang
name: Github Actions - Shifter
on:
pull_request:
paths:
Expand All @@ -12,7 +12,7 @@ defaults:
working-directory: ./shifter

jobs:
golang-ci-workflow:
shifter-ci-workflow:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
Expand All @@ -33,7 +33,19 @@ jobs:
with:
sarif_file: results.sarif
- name: Run Build
run: make build
run: make build
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'us-docker.pkg.dev/shifter-lz-002/dev-shifter/${{ github.head_ref || github.ref_name }}/shifter'
format: 'sarif'
output: 'trivy-results.sarif'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
if: always()
with:
sarif_file: 'trivy-results.sarif'


# ## we can update once we have unit testcases inplace
Expand Down
2 changes: 1 addition & 1 deletion shifter/generator/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

"gopkg.in/yaml.v3"
json "k8s.io/apimachinery/pkg/runtime/serializer/json"
//"strconv"
// "strconv"
)

type Chart struct {
Expand Down