Skip to content

chore(deps): bump k8s.io/metrics from 0.32.1 to 0.32.3 #187

chore(deps): bump k8s.io/metrics from 0.32.1 to 0.32.3

chore(deps): bump k8s.io/metrics from 0.32.1 to 0.32.3 #187

Workflow file for this run

name: CI
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: 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.22"
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@v5
with:
go-version: '1.22'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
only-new-issues: 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
run: |
if [ "$(git diff --exit-code --name-only --diff-filter=d origin/main -- helm/)" != "" ]; 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: Helm lint and template
run: |
make helm
if: ${{ env.CHART_UPDATED }}