subsonic-tui/.forgejo/workflows/build.yml
Sagi Dayan 856fa6d159
All checks were successful
build bin / Make sure build does not fail (push) Successful in 2m46s
Added basic "build" test for sanity
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-12-15 13:53:40 +02:00

31 lines
675 B
YAML

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
- name: install alsa devel
run: apt update && apt install libasound2-dev -y
- 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