Skip to content

chore: only build server for linux #229

chore: only build server for linux

chore: only build server for linux #229

Workflow file for this run

name: build
on:
push:
branches:
- main
workflow_dispatch:
inputs:
reason:
description: "Reason for manual trigger"
required: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.5"
- name: Audit
run: make audit
- name: Install dependecies
run: go mod download
- name: Run unit tests with coverage
run: make coverage
- name: Upload coverage
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: |
make coveralls
- name: Build server
run: make build_server
- name: Build CLI
run: make build_cli