NVSHAS-8354 Apply admission control rules differently for containers … #159
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: Lint and Test Charts | |
on: [push, pull_request] | |
jobs: | |
lint-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.20' | |
- name: Run chart-testing (lint) | |
id: lint | |
uses: helm/chart-testing-action@main | |
with: | |
command: lint | |
config: ct.yaml | |
- name: Run unitest | |
run: | | |
cd test | |
go test |