Skip to content

chore(main): release 1.5.1 (#4) #19

chore(main): release 1.5.1 (#4)

chore(main): release 1.5.1 (#4) #19

Workflow file for this run

name: CI
on:
push:
branches:
- "main"
paths:
- '**'
- '!docs/**'
pull_request:
branches:
- "main"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
tests:
name: Unit Tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.20"
cache: true
- run: make test
lint:
name: Go Lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.53
only-new-issues: true
skip-pkg-cache: true
args: --timeout=10m
helm:
name: Helm Lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check Git diff in /helm-chart
run: |
if [ "$(git diff --exit-code --name-only --diff-filter=d origin/main -- helm-chart/)" != "" ]; then
echo "There are Git diffs in the /helm-chart folder."
echo "CHART_UPDATED=true" >> $GITHUB_ENV
else
echo "There are no Git diffs in the /helm-chart folder."
fi
- name: Install Helm Docs
uses: envoy/install-helm-docs@v1.0.0
with:
version: 1.11.0
- name: Helm lint and template
run: |
make helm
if: ${{ env.CHART_UPDATED }}