Skip to content

Enhance project structure and documentation; implement MIDI handling … #11

Enhance project structure and documentation; implement MIDI handling …

Enhance project structure and documentation; implement MIDI handling … #11

Workflow file for this run

name: Build and UnitTests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.26.4'
- name: Cache Go modules
uses: actions/cache@v5
with:
path: |
~/.cache/go-build
${{ github.workspace }}/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: go mod download
- name: Build application
run: make build
- name: Validate binary exists
run: test -f main.exe
- name: Run unittest
run: make test