Compare commits
2 commits
684861bde3
...
2f48d701d2
Author | SHA1 | Date | |
---|---|---|---|
2f48d701d2 | |||
ca8437e3ca |
3 changed files with 31 additions and 2 deletions
29
.forgejo/workflows/build.yml
Normal file
29
.forgejo/workflows/build.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: build bin
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Make sure build does not fail
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
name: checkout
|
||||||
|
- uses: https://code.forgejo.org/actions/setup-go@v5
|
||||||
|
name: install go
|
||||||
|
with:
|
||||||
|
go-version-file: './go.mod'
|
||||||
|
- run: go version
|
||||||
|
name: Go version
|
||||||
|
- run: make dep
|
||||||
|
name: install dependencies
|
||||||
|
- run: make build
|
||||||
|
name: build app
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -24,7 +24,7 @@ test_coverage:
|
||||||
go test ./... -coverprofile=coverage.out
|
go test ./... -coverprofile=coverage.out
|
||||||
|
|
||||||
dep:
|
dep:
|
||||||
go mod download
|
go mod vendor
|
||||||
|
|
||||||
vet:
|
vet:
|
||||||
go vet
|
go vet
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -7,7 +7,7 @@ require (
|
||||||
github.com/delucks/go-subsonic v0.0.0-20240806025900-2a743ec36238
|
github.com/delucks/go-subsonic v0.0.0-20240806025900-2a743ec36238
|
||||||
github.com/gdamore/tcell/v2 v2.7.4
|
github.com/gdamore/tcell/v2 v2.7.4
|
||||||
github.com/godbus/dbus/v5 v5.1.0
|
github.com/godbus/dbus/v5 v5.1.0
|
||||||
github.com/gopxl/beep v1.4.1
|
github.com/gopxl/beep/v2 v2.1.0
|
||||||
github.com/gopxl/beep/v2 v2.1.0
|
github.com/gopxl/beep/v2 v2.1.0
|
||||||
github.com/quarckster/go-mpris-server v1.0.3
|
github.com/quarckster/go-mpris-server v1.0.3
|
||||||
github.com/rivo/tview v0.0.0-20241103174730-c76f7879f592
|
github.com/rivo/tview v0.0.0-20241103174730-c76f7879f592
|
||||||
|
|
Loading…
Reference in a new issue