fix: name of helm values env #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go CI | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'code/base-project/image-scan/**' | |
jobs: | |
test-build-publish: | |
name: Test, Build, and Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Fetches all history for all branches and tags | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '>1.21' # Set this to the Go version you want to use | |
- name: Go to right directory | |
run: cd code/base-project/image-scan | |
- name: Install dependencies | |
run: cd code/base-project/image-scan && go mod tidy | |
- name: Test | |
run: cd code/base-project/image-scan && go test ./... | |
- name: Build | |
run: cd code/base-project/image-scan && go build -o image-scan |