Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

## Changes

- []() Bump `cosmos-sdk` version to `v0.53.5` and minimum Go version to `1.25`.
- [#4850](https://github.com/ignite/cli/pull/4850) Add default GitHub Actions for linting and testing.
- [#4849](https://github.com/ignite/cli/pull/4849) Bump `cosmos-sdk` version to `v0.53.5` and minimum Go version to `1.25`.

## [`v29.6.2`](https://github.com/ignite/cli/releases/tag/v29.6.2)

Expand Down
17 changes: 17 additions & 0 deletions ignite/templates/app/files/.github/workflows/go-unit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Unit tests
on:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out source
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "stable"
check-latest: true
- name: Tests
run: |
make test
19 changes: 19 additions & 0 deletions ignite/templates/app/files/.github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lint PR
on:
pull_request_target:
types:
- opened
- edited
- synchronize
permissions:
contents: read
jobs:
lint:
permissions:
pull-requests: read
statuses: write
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5.5.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25 changes: 25 additions & 0 deletions ignite/templates/app/files/.github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint
on:
pull_request:
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- "**/go.mod"
- "**/go.sum"
merge_group:
permissions:
contents: read
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "stable"
check-latest: true
- name: run linting
run: |
make lint