File tree Expand file tree Collapse file tree 4 files changed +63
-1
lines changed
ignite/templates/app/files/.github/workflows Expand file tree Collapse file tree 4 files changed +63
-1
lines changed Original file line number Diff line number Diff line change 44
55## Changes
66
7- - [ ] ( ) Bump ` cosmos-sdk ` version to ` v0.53.5 ` and minimum Go version to ` 1.25 ` .
7+ - [ #4850 ] ( https://github.com/ignite/cli/pull/4850 ) Add default GitHub Actions for linting and testing.
8+ - [ #4849 ] ( https://github.com/ignite/cli/pull/4849 ) Bump ` cosmos-sdk ` version to ` v0.53.5 ` and minimum Go version to ` 1.25 ` .
89
910## [ ` v29.6.2 ` ] ( https://github.com/ignite/cli/releases/tag/v29.6.2 )
1011
Original file line number Diff line number Diff line change 1+ name : Unit tests
2+ on :
3+ pull_request :
4+ jobs :
5+ tests :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - name : Check out source
9+ uses : actions/checkout@v4
10+ - name : Set up Go
11+ uses : actions/setup-go@v5
12+ with :
13+ go-version : " stable"
14+ check-latest : true
15+ - name : Tests
16+ run : |
17+ make test
Original file line number Diff line number Diff line change 1+ name : Lint PR
2+ on :
3+ pull_request_target :
4+ types :
5+ - opened
6+ - edited
7+ - synchronize
8+ permissions :
9+ contents : read
10+ jobs :
11+ lint :
12+ permissions :
13+ pull-requests : read
14+ statuses : write
15+ runs-on : ubuntu-latest
16+ steps :
17+ 18+ env :
19+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Lint
2+ on :
3+ pull_request :
4+ paths :
5+ - " **/*.go"
6+ - " go.mod"
7+ - " go.sum"
8+ - " **/go.mod"
9+ - " **/go.sum"
10+ merge_group :
11+ permissions :
12+ contents : read
13+ jobs :
14+ golangci :
15+ name : golangci-lint
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+ - uses : actions/setup-go@v5
20+ with :
21+ go-version : " stable"
22+ check-latest : true
23+ - name : run linting
24+ run : |
25+ make lint
You can’t perform that action at this time.
0 commit comments