This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
Deprecating notice for Kubeaudit #469
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version-file: "go.mod" | |
- name: Clone repo | |
uses: actions/checkout@v2 | |
- name: Install kubectl | |
run: sudo snap install kubectl --classic | |
- name: Install kind | |
run: go get sigs.k8s.io/kind | |
- name: Go mod download and go tidy | |
run: make setup | |
- name: Run tests | |
env: | |
USE_KIND: "true" | |
run: make test |