focalboard/.github/workflows/lint-server.yml
2022-03-30 18:10:11 -04:00

24 lines
522 B
YAML

name: golangci-lint
on:
push:
branches: [ main, release-** ]
pull_request:
branches: [ main, release-** ]
jobs:
golangci:
name: server
runs-on: ubuntu-18.04
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.16
- uses: actions/checkout@v2
- run: make templates-archive
- name: server-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.41
working-directory: server
skip-go-installation: true