test: add unit test for main function #5120
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: k8s api version check | |
on: | |
pull_request: {} | |
push: {} | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download pluto | |
uses: FairwindsOps/pluto/github-action@master | |
- name: Check deploy folder | |
run: | | |
pluto detect-files -d deploy --ignore-deprecations --ignore-removals | |
- name: Check example folder | |
run: | | |
pluto detect-files -d deploy/example |