Files
charts/.github/workflows/clustertool.tests.yaml
TrueCharts Bot d57f21e7ea chore(github-action): update actions/setup-go digest to 0aaccfd (#33418)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-go](https://redirect.github.com/actions/setup-go) |
action | digest | `f111f33` -> `0aaccfd` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInJlbm92YXRlL2dpdGh1Yi1hY3Rpb24iLCJyZW5vdmF0ZS9naXRodWItcmVsZWFzZSIsInR5cGUvZGlnZXN0Il19-->
2025-03-19 07:33:13 +01:00

64 lines
1.5 KiB
YAML

name: clustertool-go-tests
on:
workflow_dispatch:
workflow_call:
push:
branches:
- main
tags:
- "*"
paths:
- 'main.go'
- 'go.mod'
- 'go.sum'
- 'pkg/**'
- 'cmd/**'
- 'clustertool/**'
- ".github/workflows/clustertool.test.yaml"
#pull_request:
# branches:
# - main
# paths:
# - 'main.go'
# - 'go.mod'
# - 'go.sum'
# - 'pkg/**'
# - 'cmd/**'
# - 'clustertool/**'
# - ".github/workflows/clsutertool.test.yaml"
permissions:
contents: read
jobs:
check_changes:
runs-on: ubuntu-latest
outputs:
changes_detected: ${{ steps.filter.outputs.changed }}
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Filter paths
id: filter
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
with:
list-files: json
filters: |
changed:
- 'clustertool/**'
build:
runs-on: actions-runners
if: needs.check_changes.outputs.changes_detected == 'true'
steps:
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
with:
go-version: stable
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: |
cd ./clustertool
go build -o /usr/local/bin/clustertool
go test -v ./... -race -covermode=atomic
clustertool-dev