2021-07-14 15:36:18 +02:00
|
|
|
name: golangci-lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-09-30 21:09:38 +02:00
|
|
|
branches: [ main, release-** ]
|
2021-07-14 15:36:18 +02:00
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
golangci:
|
|
|
|
name: plugin
|
|
|
|
runs-on: ubuntu-18.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/setup-go@v2
|
|
|
|
with:
|
|
|
|
go-version: 1.16
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: plugin-lint
|
|
|
|
uses: golangci/golangci-lint-action@v2
|
|
|
|
with:
|
|
|
|
version: v1.41
|
|
|
|
working-directory: mattermost-plugin
|
|
|
|
skip-go-installation: true
|