-
Notifications
You must be signed in to change notification settings - Fork 313
48 lines (45 loc) · 1.33 KB
/
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
41
42
43
44
45
46
47
48
name: lint
on:
workflow_call:
jobs:
golangci-lint:
name: golangci-lint
runs-on: ubuntu-latest
timeout-minutes: 8
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- uses: technote-space/[email protected]
with:
# This job will pass without running if go.mod, go.sum, and *.go
# wasn't modified.
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: golangci/[email protected]
with:
version: v1.61.0
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: env.GIT_DIFF
# hadolint lints the Dockerfile
hadolint:
<<<<<<< HEAD
uses: celestiaorg/.github/.github/workflows/[email protected]
=======
uses: celestiaorg/.github/.github/workflows/[email protected]
>>>>>>> 3751aacd (fix: reject BlobTxs larger than 2 MiB (#4084))
with:
dockerfile: "docker/Dockerfile"
yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
<<<<<<< HEAD
- uses: celestiaorg/.github/.github/actions/[email protected]
=======
- uses: celestiaorg/.github/.github/actions/[email protected]
>>>>>>> 3751aacd (fix: reject BlobTxs larger than 2 MiB (#4084))