feat: support kustomize-load-restrictor flag (#1) #58
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: Test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.16 | |
- name: Check out | |
uses: actions/checkout@v2 | |
- name: Build | |
run: make build | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v2 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
version: v1.42.1 | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.16 | |
- name: Check out | |
uses: actions/checkout@v2 | |
- name: Test | |
run: make test coverage | |
- name: Coverage | |
run: make coverage | |
- name: Goveralls | |
uses: shogo82148/actions-goveralls@v1 | |
with: | |
path-to-profile: cover.out |