Merge pull request #88 from stefanprodan/helm-ocirepo #217
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: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
vet: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Install tools | |
run: make tools | |
- name: Run CUE format | |
run: | | |
make fmt | |
if [[ $(git diff --stat) != '' ]]; then | |
echo 'run "make fmt" and commit changes' | |
exit 1 | |
fi | |
- name: Vet modules | |
run: make vet |