Rules group to use coralogix-management-sdk #241
Workflow file for this run
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: unit | |
on: | |
pull_request: | |
paths-ignore: | |
- "charts/**" | |
push: | |
branches: | |
- 'main' | |
paths-ignore: | |
- "charts/**" | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
name: Unit tests | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Create k8s Kind Cluster | |
uses: helm/kind-action@v1.4.0 | |
- name: Install CRDs | |
run: make install | |
- run: make test | |
- name: Patch Coverage | |
uses: seriousben/go-patch-cover-action@v1 | |
with: | |
version: v0.2.0 | |
coverage_filename: cover.out |