-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (38 loc) · 975 Bytes
/
lint.yml
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
34
35
36
37
38
39
40
name: "Linting"
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
strategy:
matrix:
module:
- core
- configmodule
- sidecar
- testing/interchaintest
- testing/simapp
- testing/rollupsimapp
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.23
cache-dependency-path: | #We need all of them cached because many modules are shared
core/go.sum
configmodule/go.sum
sidecar/go.sum
testing/interchaintest/go.sum
testing/simapp/go.sum
testing/rollupsimapp/go.sum
- name: Lint ${{ matrix.module }}
uses: golangci/[email protected]
with:
version: v1.60
args: --timeout 5m
working-directory: ${{ matrix.module }}