Add upload examples #22
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: pre-commit | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
env: | |
HELM_CACHE_HOME: /tmp/helm-cache/ | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- name: Restore helm cache | |
uses: actions/cache@v4 | |
with: | |
path: ${{ env.HELM_CACHE_HOME }} | |
key: ${{ runner.os }}-helm | |
- name: Install helm | |
uses: azure/setup-helm@v4.2.0 | |
- name: Install helm plugins | |
run: | | |
helm plugin install https://github.com/helm-unittest/helm-unittest.git | |
- name: Run pre-commit | |
uses: pre-commit/action@v3.0.1 |