File tree 3 files changed +10
-13
lines changed
3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -2,22 +2,21 @@ name: golangci-lint
2
2
on :
3
3
pull_request :
4
4
branches : ["**"]
5
- env :
6
- GOPRIVATE : github.com/DIMO-Network
7
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5
+ push :
6
+ branches :
7
+ - main
8
8
jobs :
9
9
golangci :
10
+ # Condition to skip merge commits
11
+ if : " !contains(github.event.head_commit.message, 'Merge pull request')"
10
12
runs-on : ubuntu-latest
11
13
12
14
name : lint
13
15
steps :
14
- - name : Install Go
15
- uses : actions/setup-go@v3
16
+ - uses : actions/checkout@v4
17
+ - uses : actions/setup-go@v5
16
18
with :
17
- go-version : 1.21.x
18
-
19
- - name : Checkout code
20
- uses : actions/checkout@v4
19
+ go-version-file : ' go.mod'
21
20
22
21
- name : golangci-lint
23
22
uses : golangci/golangci-lint-action@v6
Original file line number Diff line number Diff line change 1
1
module github.com/DIMO-Network/contract-event-processor
2
2
3
- go 1.22.3
4
-
5
- toolchain go1.23.5
3
+ go 1.23
6
4
7
5
require (
8
6
github.com/Shopify/sarama v1.33.0
Original file line number Diff line number Diff line change 1
- FROM golang:1.21 AS build
1
+ FROM golang:1.23 AS build
2
2
3
3
RUN useradd -u 10001 dimo
4
4
You can’t perform that action at this time.
0 commit comments