more CI tweaks
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: goreleaser
|
||||
name: clustertool-go-release
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
on:
|
||||
|
||||
+14
-14
@@ -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
|
||||
Reference in New Issue
Block a user