mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 12:55:29 +00:00
yaml formatting
This commit is contained in:
8
.github/dependabot.yml
vendored
8
.github/dependabot.yml
vendored
@@ -1,10 +1,10 @@
|
|||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
- package-ecosystem: 'github-actions'
|
- package-ecosystem: "github-actions"
|
||||||
directory: '/'
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: 'weekly'
|
interval: "weekly"
|
||||||
- package-ecosystem: gomod
|
- package-ecosystem: gomod
|
||||||
directory: /
|
directory: /
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
|
|||||||
18
.github/labeler.yml
vendored
18
.github/labeler.yml
vendored
@@ -1,27 +1,27 @@
|
|||||||
config:
|
config:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: 'internal/config/**'
|
- any-glob-to-any-file: "internal/config/**"
|
||||||
|
|
||||||
framer:
|
framer:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: 'internal/framer/**'
|
- any-glob-to-any-file: "internal/framer/**"
|
||||||
|
|
||||||
module:
|
module:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: 'internal/module/**'
|
- any-glob-to-any-file: "internal/module/**"
|
||||||
|
|
||||||
processor:
|
processor:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: 'internal/processor/**'
|
- any-glob-to-any-file: "internal/processor/**"
|
||||||
|
|
||||||
router:
|
router:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: 'router*'
|
- any-glob-to-any-file: "router*"
|
||||||
|
|
||||||
route:
|
route:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: 'internal/route/**'
|
- any-glob-to-any-file: "internal/route/**"
|
||||||
|
|
||||||
cli:
|
cli:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: 'cmd/showbridge/**'
|
- any-glob-to-any-file: "cmd/showbridge/**"
|
||||||
|
|||||||
2
.github/release.yml
vendored
2
.github/release.yml
vendored
@@ -26,4 +26,4 @@ changelog:
|
|||||||
- cli
|
- cli
|
||||||
- title: Other Changes
|
- title: Other Changes
|
||||||
labels:
|
labels:
|
||||||
- '*'
|
- "*"
|
||||||
|
|||||||
2
.github/workflows/label-pr.yaml
vendored
2
.github/workflows/label-pr.yaml
vendored
@@ -15,4 +15,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
|
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
|
||||||
with:
|
with:
|
||||||
sync-labels: true
|
sync-labels: true
|
||||||
|
|||||||
2
.github/workflows/release-showbridge.yaml
vendored
2
.github/workflows/release-showbridge.yaml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: setup go
|
- name: setup go
|
||||||
uses: actions/setup-go@v6
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
go-version-file: "go.mod"
|
||||||
- name: release
|
- name: release
|
||||||
uses: goreleaser/goreleaser-action@v7
|
uses: goreleaser/goreleaser-action@v7
|
||||||
with:
|
with:
|
||||||
|
|||||||
18
.github/workflows/test-showbridge.yaml
vendored
18
.github/workflows/test-showbridge.yaml
vendored
@@ -5,16 +5,16 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '**/*.go'
|
- "**/*.go"
|
||||||
- 'go.mod'
|
- "go.mod"
|
||||||
- 'go.sum'
|
- "go.sum"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '**/*.go'
|
- "**/*.go"
|
||||||
- 'go.mod'
|
- "go.mod"
|
||||||
- 'go.sum'
|
- "go.sum"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: actions/setup-go@v6
|
- uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
go-version-file: "go.mod"
|
||||||
- name: mod tidy
|
- name: mod tidy
|
||||||
run: go mod tidy
|
run: go mod tidy
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
run: go test ./... -count=1 -coverpkg "github.com/jwetzell/showbridge-go/..." -coverprofile coverage.out
|
run: go test ./... -count=1 -coverpkg "github.com/jwetzell/showbridge-go/..." -coverprofile coverage.out
|
||||||
|
|
||||||
- name: clean up coverage report
|
- name: clean up coverage report
|
||||||
run: cat coverage.out | grep -v "github.com/jwetzell/showbridge-go/cmd" > coverage.nocmd.out
|
run: cat coverage.out | grep -v "github.com/jwetzell/showbridge-go/cmd" > coverage.nocmd.out
|
||||||
- name: Update coverage report
|
- name: Update coverage report
|
||||||
uses: ncruces/go-coverage-report@v0.3.2
|
uses: ncruces/go-coverage-report@v0.3.2
|
||||||
with:
|
with:
|
||||||
@@ -45,5 +45,5 @@ jobs:
|
|||||||
report: true
|
report: true
|
||||||
chart: true
|
chart: true
|
||||||
amend: true
|
amend: true
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ builds:
|
|||||||
- "amd64"
|
- "amd64"
|
||||||
- "arm64"
|
- "arm64"
|
||||||
ldflags:
|
ldflags:
|
||||||
- '-s -w -X main.version={{.RawVersion}}-{{.ShortCommit}}'
|
- "-s -w -X main.version={{.RawVersion}}-{{.ShortCommit}}"
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- formats: [tar.gz]
|
- formats: [tar.gz]
|
||||||
|
|||||||
Reference in New Issue
Block a user