mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-27 23:08:02 +02:00
workflows: clean up linting
This commit is contained in:
parent
62b200a4be
commit
6faed08d9d
41
.github/workflows/lint.yml
vendored
41
.github/workflows/lint.yml
vendored
@ -1,35 +1,14 @@
|
|||||||
name: golangci-lint
|
name: Lint
|
||||||
on:
|
|
||||||
pull_request:
|
on: pull_request
|
||||||
types:
|
|
||||||
- labeled
|
|
||||||
- unlabeled
|
|
||||||
- synchronize
|
|
||||||
- opened
|
|
||||||
- edited
|
|
||||||
- ready_for_review
|
|
||||||
- reopened
|
|
||||||
- unlocked
|
|
||||||
pull_request_review:
|
|
||||||
types:
|
|
||||||
- submitted
|
|
||||||
check_suite:
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
status: {}
|
|
||||||
jobs:
|
jobs:
|
||||||
golangci:
|
lint:
|
||||||
strategy:
|
runs-on: ubuntu-latest
|
||||||
matrix:
|
|
||||||
go-version:
|
|
||||||
- 1.14.x
|
|
||||||
os:
|
|
||||||
- ubuntu-latest
|
|
||||||
name: lint
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout
|
||||||
- name: golangci-lint
|
uses: actions/checkout@v2
|
||||||
|
- name: Lint
|
||||||
uses: golangci/golangci-lint-action@v2
|
uses: golangci/golangci-lint-action@v2
|
||||||
with:
|
with:
|
||||||
version: v1.29
|
version: latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user