Skip to content

v0.11.0

v0.11.0 #29

Workflow file for this run

---
name: CI
on:
pull_request:
push:
branches: [ main ]
tags:
- 'nhi-explorer-*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
test:
runs-on: ubuntu-latest
env:
HELM_CACHE_HOME: /tmp/helm-cache/
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- run: pre-commit run --show-diff-on-failure --color=always --all-files
shell: bash
release:
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
permissions:
contents: write
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- uses: jdx/mise-action@v2
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
skip_existing: false