forked from Azure/azure-container-networking
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 743 Bytes
/
golangci.yaml
File metadata and controls
33 lines (33 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: golangci-lint
on:
workflow_dispatch:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
merge_group:
types:
- checks_requested
jobs:
golangci:
strategy:
fail-fast: false
matrix:
go-version: ['1.21.x']
os: [ubuntu-latest, windows-latest]
name: Lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55
args: --new-from-rev=origin/master --config=.golangci.yml --timeout=25m