Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions .github/workflows/call-golang-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,29 @@ on:
required: true
type: string
golint-version:
default: v2.12.2-alpine
required: true
# must be built with a Go >= the consumer's go.mod go directive
default: v2.15.0-alpine
required: false
type: string
golang-version:
default: 1.26.6
required: true
default: "1.27.3"
required: false
type: string
timeout-minutes:
default: 10m
required: false
type: string
environment-name:
default: k8s
required: true
required: false
type: string
accept-linterrors:
default: false
required: true
required: false
type: boolean
accept-failedtests:
default: false
required: true
required: false
type: boolean

jobs:
Expand Down Expand Up @@ -59,6 +60,8 @@ jobs:
# the golang image pins GOTOOLCHAIN=local; auto lets a consumer's
# go.mod pull a newer toolchain instead of failing the build
GOTOOLCHAIN: auto
# empty when the caller has no HOMERUN_TOKEN: the homerun step is skipped
HOMERUN_TOKEN: ${{ secrets.HOMERUN_TOKEN }}
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down Expand Up @@ -86,7 +89,7 @@ jobs:
start: ${{ env.start }}

- name: Send Message To Homerun
if: always()
if: always() && env.HOMERUN_TOKEN != ''
uses: stuttgart-things/github-workflow-templates/actions/send-homerun-message@56f6ab274dc611593c8b241fbbbd4338bccad347 # main
with:
url: "https://homerun.homerun-dev.sthings-vsphere.labul.sva.de/generic"
Expand All @@ -108,6 +111,8 @@ jobs:
# the golang image pins GOTOOLCHAIN=local; auto lets a consumer's
# go.mod pull a newer toolchain instead of failing the build
GOTOOLCHAIN: auto
# empty when the caller has no HOMERUN_TOKEN: the homerun step is skipped
HOMERUN_TOKEN: ${{ secrets.HOMERUN_TOKEN }}
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -134,7 +139,7 @@ jobs:
start: ${{ env.start }}

- name: Send Message To Homerun
if: always()
if: always() && env.HOMERUN_TOKEN != ''
uses: stuttgart-things/github-workflow-templates/actions/send-homerun-message@56f6ab274dc611593c8b241fbbbd4338bccad347 # main
with:
url: "https://homerun.homerun-dev.sthings-vsphere.labul.sva.de/generic"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
module-name: kaeffken
environment-name: k8s
runs-on: ghr-kaeffken-skyami-cicd
golint-version: v1.61.0-alpine
golang-version: "1.23.1"
golint-version: v2.15.0-alpine
golang-version: "1.27.3"
accept-linterrors: true
accept-failedtests: false
secrets: inherit
Expand Down
Loading