more CI tweaks

This commit is contained in:
Kjeld Schouten
2024-10-16 23:45:25 +02:00
parent 15f510701f
commit d92b3c1bdf
3 changed files with 35 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
name: golangci-lint
name: Clustertool-go-lint
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:
@@ -7,15 +7,25 @@ on:
# - main
# tags:
# - "*"
# paths:
# - 'clustertool/**'
# - ".github/workflows/clsutertool.test.yaml"
#pull_request:
# branches:
# - main
# paths:
# - 'clustertool/**'
# - ".github/workflows/clsutertool.test.yaml"
# paths:
# - 'main.go'
# - 'go.mod'
# - 'go.sum'
# - 'pkg/**'
# - 'cmd/**'
# - 'clustertool/**'
# - ".github/workflows/clsutertool.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:

View File

@@ -1,4 +1,4 @@
name: goreleaser
name: clustertool-go-release
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:

View File

@@ -1,20 +1,20 @@
name: clustertool-test
name: clustertool-go-tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:
push:
branches:
- main
tags:
- "*"
paths:
- 'main.go'
- 'go.mod'
- 'go.sum'
- 'pkg/**'
- 'cmd/**'
- 'clustertool/**'
- ".github/workflows/clsutertool.test.yaml"
# push:
# branches:
# - main
# tags:
# - "*"
# paths:
# - 'main.go'
# - 'go.mod'
# - 'go.sum'
# - 'pkg/**'
# - 'cmd/**'
# - 'clustertool/**'
# - ".github/workflows/clsutertool.test.yaml"
pull_request:
branches:
- main