mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
a0524dd386
* enable CI linting for server and plugin * replace `golint` (deprecated) with `revive` * use GH actions for lint
24 lines
462 B
YAML
24 lines
462 B
YAML
name: golangci-lint
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
golangci:
|
|
name: server
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.16
|
|
- uses: actions/checkout@v2
|
|
- name: server-lint
|
|
uses: golangci/golangci-lint-action@v2
|
|
with:
|
|
version: v1.41
|
|
working-directory: server
|
|
skip-go-installation: true
|