Skip to content

Commit

Permalink
Update github actions to run yaml lint checks
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronRP committed Oct 2, 2024
1 parent b53bc9a commit 09ae581
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Go CI and Release

on:
Expand All @@ -12,4 +13,4 @@ on:

jobs:
build:
uses: TheCacophonyProject/github-actions-templates/.github/workflows/[email protected].1
uses: TheCacophonyProject/github-actions-templates/.github/workflows/[email protected].2
49 changes: 25 additions & 24 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
project_name: thermal-uploader

version: 2
Expand All @@ -8,32 +9,32 @@ release:
name: thermal-uploader
name_template: '{{.Tag}}'
builds:
- goos:
- linux
goarch:
- arm
- arm64
goarm:
- "7"
main: ./cmd/thermal-uploader
ldflags: -s -w -X main.version={{.Version}}
binary: thermal-uploader
- goos:
- linux
goarch:
- arm
- arm64
goarm:
- "7"
main: ./cmd/thermal-uploader
ldflags: -s -w -X main.version={{.Version}}
binary: thermal-uploader

nfpms:
- vendor: The Cacophony Project
homepage: http://cacophony.org.nz/
maintainer: Cacophony Developers <[email protected]>
description: Upload thermal video footage to Cacophony Project API server
license: GPL v3.0
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
formats:
- deb
bindir: /usr/bin
contents:
- src: _release/thermal-uploader.service
dst: /etc/systemd/system/thermal-uploader.service
scripts:
postinstall: "_release/postinstall.sh"
- vendor: The Cacophony Project
homepage: http://cacophony.org.nz/
maintainer: Cacophony Developers <[email protected]>
description: Upload thermal video footage to Cacophony Project API server
license: GPL v3.0
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
formats:
- deb
bindir: /usr/bin
contents:
- src: _release/thermal-uploader.service
dst: /etc/systemd/system/thermal-uploader.service
scripts:
postinstall: "_release/postinstall.sh"
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
dist: dist

0 comments on commit 09ae581

Please sign in to comment.