Skip to content

fix lint

fix lint #5

Workflow file for this run

name: Server
on:
push:
branches:
- 'master'
pull_request:
branches:
- '**'
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: [1.21]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Setup Go
uses: actions/[email protected]
with:
go-version: ${{ matrix.go }}
- name: Install go deps
run: go mod tidy
- name: Lint
if: matrix.os == 'ubuntu-latest'
run: make lint
- name: Build
run: cd cmd/server && go build -ldflags "-s -w"