---
name: Validate-Golang
on:
  workflow_dispatch:
  push:
    branches:
      - main
  pull_request:
    types: [opened, reopened]

jobs:
  validate-golang:
    name: Valdiate Golang
    uses: stuttgart-things/stuttgart-things/.github/workflows/validate-golang.yaml@main
    with:
      module-name: stagetime-server
      environment-name: k8s
      runs-on: arc-runner-scale-set-stagetime-server
      golint-version: v1.55
      golang-version: "1.21.5"
      accept-linterrors: true
      accept-failedtests: true
