forked from solana-foundation/solana-go
-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (32 loc) · 679 Bytes
/
lint.yml
File metadata and controls
32 lines (32 loc) · 679 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
on:
push:
paths:
- "**.go"
- "go.mod"
- "go.sum"
- ".golangci.yml"
- ".github/workflows/lint.yml"
pull_request:
paths:
- "**.go"
- "go.mod"
- "go.sum"
- ".golangci.yml"
- ".github/workflows/lint.yml"
name: lint
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.24.x"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.11.4
args: --timeout=10m