30 lines
535 B
YAML
30 lines
535 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: actions/checkout@v4
|
||
|
name: checkout
|
||
|
- uses: 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
|
||
|
|