mirror of
https://github.com/truecharts/charts.git
synced 2026-07-08 20:41:24 -03:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://redirect.github.com/actions/checkout) | action | major | `08eba0b` -> `08c6903` | --- > [!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. --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v5`](https://redirect.github.com/actions/checkout/compare/v4...v5) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4...v5) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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:eyJjcmVhdGVkSW5WZXIiOiI0MS41My4xIiwidXBkYXRlZEluVmVyIjoiNDEuNTMuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJyZW5vdmF0ZS9naXRodWItYWN0aW9uIiwicmVub3ZhdGUvZ2l0aHViLXJlbGVhc2UiLCJ0eXBlL21ham9yIl19-->
64 lines
1.5 KiB
YAML
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
|
|
|
- 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@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
|
|
with:
|
|
go-version: stable
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
|
- run: |
|
|
cd ./clustertool
|
|
go build -o /usr/local/bin/clustertool
|
|
go test -v ./... -race -covermode=atomic
|
|
clustertool-dev
|