mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
979807a3b6
* Bumps versions of github actions, golangci-lint, and Go * fix lint plugin; use make file
23 lines
550 B
YAML
23 lines
550 B
YAML
name: golangci-lint
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, release-** ]
|
|
pull_request:
|
|
branches: [ main, release-** ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
golangci:
|
|
name: plugin
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.18.1
|
|
- uses: actions/checkout@v3
|
|
- name: set up golangci-lint
|
|
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2
|
|
- name: lint
|
|
run: make server-lint
|