Skip to content

Commit

Permalink
Merge pull request #128 from terpnetwork/v2.0.0-rc2
Browse files Browse the repository at this point in the history
V2.0.0 rc2
  • Loading branch information
hard-nett authored Sep 18, 2023
2 parents d70c390 + 8fd213b commit 5afd310
Show file tree
Hide file tree
Showing 456 changed files with 24,911 additions and 73,913 deletions.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Report a bug
about: Issue tracker is used for reporting bugs
title: ''
labels: 'type:bug'
assignees: ''
---

#### Specifications

Terp-Core version: `Terpd version`
OS & Version: Windows/Linux/OSX
Commit hash:

#### Expected behavior


#### Actual behavior


#### Steps to reproduce the behavior


#### Backtrace

````
[backtrace]
````

When submitting logs: please submit them as text and not screenshots.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: true
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for opening an issue! ✰
v Before smashing the submit button please review the template.
v Word of caution: poorly thought-out proposals may be rejected
v without deliberation
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->

# Summary

<!-- Short, concise description of the proposed feature -->

## Problem Definition

<!-- Why do we need this feature?
What problems may be addressed by introducing this feature?
What benefits does Terp Network stand to gain by including this feature?
Are there any disadvantages to including this feature? -->

## Proposal

<!-- Detailed description of requirements of implementation -->

____

### For Admin Use

- [ ] Not duplicate issue
- [ ] Appropriate labels applied
- [ ] Appropriate contributors tagged
- [ ] Contributor-assigned/self-assigned
- [ ] Is a spike necessary to map out how the issue should be approached?
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: General issue
about: A template for general issues with acceptance criteria
title: ''
assignees: ''
---
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating an issue! ✰
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->

## Background

> This is where you can provide code examples or context (e.g. past PR's)
> e.g.
> - The following PRs contributed to...
## Suggested Design

> Here, you can put concrete steps as to what to do next
> e.g.
> - create test file in...
## Acceptance Criteria

> Goals & criteria for success
> e.g.
> - all existing and new tests should pass
26 changes: 22 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
on: [push, pull_request]
name: Build
name: build

on:
push:
paths:
- '**.go'
- 'go.sum'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -15,8 +20,21 @@ jobs:
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: 1.20.0
- run: go build ./...

test:
runs-on: ubuntu-latest
name: test
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.20.0
- name: Checkout code
uses: actions/checkout@v3
- name: Test
run: go test ./...

tidy:
runs-on: ubuntu-latest
Expand All @@ -26,7 +44,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: 1.20.0
- run: |
go mod tidy
CHANGES_IN_REPO=$(git status --porcelain)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
name: Build Docker Image on PR

on:
pull_request:
push:
branches:
- master
- main

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
docker:
Expand Down
61 changes: 0 additions & 61 deletions .github/workflows/codacy.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: "Code Scanning - Action"

on:
pull_request:
paths:
- "**.go"
push:
branches: [ main ]
paths:
- "**.go"

jobs:
CodeQL-Build:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3.5.0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: 'go'
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
name: "Code Scanning - Action"

on:
pull_request:
paths:
- "**.go"
push:
branches: [ main ]
paths:
- "**.go"

jobs:
CodeQL-Build:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3.5.0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: 'go'
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
98 changes: 58 additions & 40 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,58 @@
name: "CodeQL"

on:
pull_request:
paths:
- "**.go"
push:
branches:
- main
- release/v*
paths:
- "**.go"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.20"
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "go"
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality

- name: Build
run: make build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
name: "Code Scanning - Action"

on:
pull_request:
paths:
- "**.go"
push:
branches:
- main
- release/**
paths:
- "**.go"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.20.0
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "go"
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v2
# with:
# debug: true

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

- name: Build
run: make build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
Loading

0 comments on commit 5afd310

Please sign in to comment.