-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: release v0.24.0
- Loading branch information
Showing
346 changed files
with
17,421 additions
and
7,735 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
changelog.md merge=union |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# CODEOWNERS: https://help.github.com/articles/about-codeowners/ | ||
|
||
# Primary repo maintainers | ||
* @ilgooz @lubtd @jeronimoalbi @aljo242 @tbruyelle @fadeev | ||
|
||
# Docs | ||
*.md @ilgooz @aljo242 | ||
|
||
# Primary repo maintainers | ||
* @ilgooz @lubtd @jeronimoalbi @aljo242 @tbruyelle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Changelog Enforcer | ||
on: | ||
pull_request: | ||
# The specific activity types are listed here to include "labeled" and "unlabeled" | ||
# (which are not included by default for the "pull_request" trigger). | ||
# This is needed to allow skipping enforcement of the changelog in PRs with specific labels, | ||
# as defined in the (optional) "skipLabels" property. | ||
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | ||
|
||
jobs: | ||
changelog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dangoslen/changelog-enforcer@v3 | ||
with: | ||
changeLogPath: 'changelog.md' | ||
missingUpdateErrorMessage: 'Please fill the changelog.md file or add the "Skip-Changelog" label' | ||
versionPattern: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Go formatting | ||
on: | ||
push: | ||
branches: [develop] | ||
paths: | ||
- '**.go' | ||
|
||
jobs: | ||
go-formatting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.18' | ||
|
||
- name: Run make format | ||
run: make format | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
title: "chore: go formatting" | ||
commit-message: "chore: go formatting" | ||
body: "" | ||
branch: chore/go-formatting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
# Project variables. | ||
PROJECT_NAME = ignite | ||
DATE := $(shell date '+%Y-%m-%dT%H:%M:%S') | ||
FIND_ARGS := -name '*.go' -type f -not -name '*.pb.go' | ||
HEAD = $(shell git rev-parse HEAD) | ||
LD_FLAGS = -X github.com/ignite/cli/ignite/version.Head='$(HEAD)' \ | ||
-X github.com/ignite/cli/ignite/version.Date='$(DATE)' | ||
|
@@ -22,28 +21,38 @@ build: | |
@-mkdir -p $(BUILD_FOLDER) 2> /dev/null | ||
@go build $(BUILD_FLAGS) -o $(BUILD_FOLDER) ./... | ||
|
||
## mocks: generate mocks | ||
mocks: | ||
@echo Generating mocks | ||
@go install github.com/vektra/mockery/v2 | ||
@go generate ./... | ||
|
||
|
||
## clean: Clean build files. Also runs `go clean` internally. | ||
clean: | ||
@echo Cleaning build cache... | ||
@-rm -rf $(BUILD_FOLDER) 2> /dev/null | ||
@go clean ./... | ||
|
||
.PHONY: install build mocks clean | ||
|
||
## govet: Run go vet. | ||
govet: | ||
@echo Running go vet... | ||
@go vet ./... | ||
|
||
## format: Run gofmt. | ||
## format: Install and run goimports and gofumpt | ||
format: | ||
@echo Formatting... | ||
@find . $(FIND_ARGS) | xargs gofmt -d -s | ||
@find . $(FIND_ARGS) | xargs goimports -w -local github.com/ignite/cli | ||
@go run mvdan.cc/gofumpt -w . | ||
@go run golang.org/x/tools/cmd/goimports -w -local github.com/ignite/cli . | ||
|
||
## lint: Run Golang CI Lint. | ||
lint: | ||
@echo Running gocilint... | ||
@go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
@golangci-lint run --out-format=tab --issues-exit-code=0 | ||
@go run github.com/golangci/golangci-lint/cmd/golangci-lint run --out-format=tab --issues-exit-code=0 | ||
|
||
.PHONY: govet format lint | ||
|
||
## test-unit: Run the unit tests. | ||
test-unit: | ||
|
@@ -58,11 +67,15 @@ test-integration: install | |
## test: Run unit and integration tests. | ||
test: govet test-unit test-integration | ||
|
||
.PHONY: test-unit test-integration test | ||
|
||
help: Makefile | ||
@echo | ||
@echo " Choose a command run in "$(PROJECT_NAME)", or just run 'make' for install" | ||
@echo | ||
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e 's/^/ /' | ||
@echo | ||
|
||
.PHONY: help | ||
|
||
.DEFAULT_GOAL := install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 6 | ||
sidebar_position: 7 | ||
description: Ignite CLI bounty program incentives and rewards. | ||
--- | ||
|
||
|
Oops, something went wrong.