yaml formatting

This commit is contained in:
Joel Wetzell
2026-03-08 15:32:27 -05:00
parent 79d535c283
commit 4ebaa48f93
7 changed files with 26 additions and 26 deletions

View File

@@ -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
View File

@@ -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
View File

@@ -26,4 +26,4 @@ changelog:
- cli - cli
- title: Other Changes - title: Other Changes
labels: labels:
- '*' - "*"

View File

@@ -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

View File

@@ -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:

View File

@@ -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

View File

@@ -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]