more CI tweaks
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: golangci-lint
|
name: Clustertool-go-lint
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
on:
|
on:
|
||||||
@@ -7,15 +7,25 @@ on:
|
|||||||
# - main
|
# - main
|
||||||
# tags:
|
# tags:
|
||||||
# - "*"
|
# - "*"
|
||||||
# paths:
|
# paths:
|
||||||
# - 'clustertool/**'
|
# - 'main.go'
|
||||||
# - ".github/workflows/clsutertool.test.yaml"
|
# - 'go.mod'
|
||||||
#pull_request:
|
# - 'go.sum'
|
||||||
# branches:
|
# - 'pkg/**'
|
||||||
# - main
|
# - 'cmd/**'
|
||||||
# paths:
|
# - 'clustertool/**'
|
||||||
# - 'clustertool/**'
|
# - ".github/workflows/clsutertool.test.yaml"
|
||||||
# - ".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:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
name: goreleaser
|
name: clustertool-go-release
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
on:
|
on:
|
||||||
|
|||||||
+14
-14
@@ -1,20 +1,20 @@
|
|||||||
name: clustertool-test
|
name: clustertool-go-tests
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
on:
|
on:
|
||||||
push:
|
# push:
|
||||||
branches:
|
# branches:
|
||||||
- main
|
# - main
|
||||||
tags:
|
# tags:
|
||||||
- "*"
|
# - "*"
|
||||||
paths:
|
# paths:
|
||||||
- 'main.go'
|
# - 'main.go'
|
||||||
- 'go.mod'
|
# - 'go.mod'
|
||||||
- 'go.sum'
|
# - 'go.sum'
|
||||||
- 'pkg/**'
|
# - 'pkg/**'
|
||||||
- 'cmd/**'
|
# - 'cmd/**'
|
||||||
- 'clustertool/**'
|
# - 'clustertool/**'
|
||||||
- ".github/workflows/clsutertool.test.yaml"
|
# - ".github/workflows/clsutertool.test.yaml"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
Reference in New Issue
Block a user