Skip to content

Commit

Permalink
Merge branch 'main' into marko/14682
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronc authored Apr 20, 2023
2 parents 8d3649e + 86b88b1 commit c83a50f
Show file tree
Hide file tree
Showing 1,118 changed files with 71,464 additions and 24,779 deletions.
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
name: Bug Report
about: Create a report to help us squash bugs!

title: "[Bug]: "
labels: "T:Bug"
---

<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
Expand Down
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/epics.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
name: Epic
about: Create an epic/user

title: "[Epic]: "
labels: T:Epic
---

<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
Expand Down
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
name: Feature Request
about: Create a proposal to request a feature

title: "[Feature]: "
labels: T:feature-request
---

<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
Expand Down
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ updates:
directory: "/"
schedule:
interval: daily
time: "01:00"

- package-ecosystem: npm
directory: "/docs"
Expand All @@ -20,13 +21,15 @@ updates:
directory: "/"
schedule:
interval: daily
time: "01:05"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/simapp"
schedule:
interval: daily
time: "01:10"
labels:
- "A:automerge"
- dependencies
Expand All @@ -35,6 +38,7 @@ updates:
schedule:
interval: weekly
day: monday
time: "01:15"
labels:
- "A:automerge"
- dependencies
Expand All @@ -43,6 +47,7 @@ updates:
schedule:
interval: weekly
day: tuesday
time: "01:20"
labels:
- "A:automerge"
- dependencies
Expand All @@ -51,6 +56,7 @@ updates:
schedule:
interval: weekly
day: wednesday
time: "01:25"
labels:
- "A:automerge"
- dependencies
Expand All @@ -59,6 +65,7 @@ updates:
schedule:
interval: weekly
day: thursday
time: "01:30"
labels:
- "A:automerge"
- dependencies
Expand All @@ -67,6 +74,7 @@ updates:
schedule:
interval: weekly
day: friday
time: "01:35"
labels:
- "A:automerge"
- dependencies
Expand All @@ -75,6 +83,7 @@ updates:
schedule:
interval: weekly
day: monday
time: "01:40"
labels:
- "A:automerge"
- dependencies
Expand All @@ -83,6 +92,7 @@ updates:
schedule:
interval: weekly
day: tuesday
time: "01:45"
labels:
- "A:automerge"
- dependencies
Expand All @@ -91,6 +101,7 @@ updates:
schedule:
interval: weekly
day: wednesday
time: "01:50"
labels:
- "A:automerge"
- dependencies
Expand All @@ -99,6 +110,7 @@ updates:
schedule:
interval: weekly
day: thursday
time: "01:55"
labels:
- "A:automerge"
- dependencies
Expand All @@ -107,6 +119,7 @@ updates:
schedule:
interval: weekly
day: friday
time: "02:00"
labels:
- "A:automerge"
- dependencies
Expand All @@ -115,6 +128,7 @@ updates:
schedule:
interval: weekly
day: monday
time: "02:05"
labels:
- "A:automerge"
- dependencies
Expand All @@ -123,6 +137,7 @@ updates:
schedule:
interval: weekly
day: tuesday
time: "02:10"
labels:
- "A:automerge"
- dependencies
Expand All @@ -131,6 +146,7 @@ updates:
schedule:
interval: weekly
day: thursday
time: "02:15"
labels:
- "A:automerge"
- dependencies
Expand All @@ -139,6 +155,7 @@ updates:
schedule:
interval: weekly
day: friday
time: "02:20"
labels:
- "A:automerge"
- dependencies
Expand All @@ -147,6 +164,7 @@ updates:
schedule:
interval: weekly
day: monday
time: "02:25"
labels:
- "A:automerge"
- dependencies
Expand All @@ -155,6 +173,7 @@ updates:
schedule:
interval: weekly
day: tuesday
time: "02:30"
labels:
- "A:automerge"
- dependencies
Expand All @@ -163,6 +182,7 @@ updates:
schedule:
interval: weekly
day: wednesday
time: "02:35"
labels:
- "A:automerge"
- dependencies
Expand All @@ -172,6 +192,7 @@ updates:
schedule:
interval: weekly
day: thursday
time: "02:40"
labels:
- "A:automerge"
- dependencies
Expand All @@ -180,6 +201,7 @@ updates:
schedule:
interval: weekly
day: friday
time: "02:45"
labels:
- "A:automerge"
- dependencies
Expand All @@ -188,6 +210,7 @@ updates:
schedule:
interval: weekly
day: monday
time: "02:50"
labels:
- "A:automerge"
- dependencies
Expand All @@ -196,6 +219,7 @@ updates:
schedule:
interval: weekly
day: tuesday
time: "02:55"
labels:
- "A:automerge"
- dependencies
Expand All @@ -206,6 +230,7 @@ updates:
target-branch: "release/v0.47.x"
schedule:
interval: daily
time: "03:00"
labels:
- "A:automerge"
- dependencies
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Build SimApp
# This workflow is run on pushes to main & every Pull Requests where a .go, .mod, .sum have been changed
on:
pull_request:
merge_group:
push:
branches:
- main
Expand All @@ -23,7 +24,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.20.2
go-version: 1.20.3
- uses: technote-space/[email protected]
id: git_diff
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.20.2
go-version: 1.20.3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-update-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
token: ${{ secrets.PRBOT_PAT }}
- uses: actions/setup-go@v4
with:
go-version: 1.20.2
go-version: 1.20.3
- name: Extract updated dependency
id: deps
run: |
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/dependencies-review.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: "Dependency Review"
on: pull_request
on:
pull_request:
merge_group:

permissions:
contents: read
Expand All @@ -8,13 +10,16 @@ jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.20.2
- name: "Checkout Repository"
uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.20.3
- name: "Dependency Review"
uses: actions/dependency-review-action@v3
with:
base-ref: ${{ github.event.pull_request.base.sha || 'main' }}
head-ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: "Dependency audit"
run: ./scripts/dep-assert.sh
- name: "Go vulnerability check"
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build & Push
# Build & Push builds the simapp docker image on every push to main and
# and pushes the image to https://hub.docker.com/r/interchainio/simapp/tags
# and pushes the image to https://ghcr.io/cosmos/simapp
on:
pull_request:
paths:
Expand All @@ -11,6 +11,12 @@ on:
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
- "v[0-9]+.[0-9]+.[0-9]+-rc*" # Push events to matching v*, i.e. v1.0-rc1, v20.15.10-rc5
workflow_dispatch:
inputs:
tags:
description: "SDK version (e.g 0.47.1)"
required: true
type: string

permissions:
contents: read
Expand All @@ -37,8 +43,8 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=semver,pattern={{version}}
type=semver,pattern=latest-{{major}}.{{minor}}
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern={{version}},value=v${{ inputs.tags }},enable=${{ inputs.tags != '' }}
flavor: |
latest=false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: securego/gosec@master
with:
# we let the report trigger content trigger a failure using the GitHub Security features.
args: "-no-fail -fmt sarif -out results.sarif ./..."
args: "-exclude=G101,G107 -no-fail -fmt sarif -out results.sarif ./..."

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue_labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v3.0
- uses: github/issue-labeler@v3.1
if: join(github.event.issue.labels) == ''
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.4.1
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/cosmos/projects/26
github-token: ${{ secrets.PERSONAL_TOKEN }}
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,28 @@ on:
- main
- release/**
pull_request:
merge_group:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.20.2
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
go-version: 1.20.3
- uses: technote-space/[email protected]
id: git_diff
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.51.2
PATTERNS: |
**/*.go
go.mod
go.sum
**/go.mod
**/go.sum
- name: run linting
if: env.GIT_DIFF
run: |
make lint
2 changes: 1 addition & 1 deletion .github/workflows/proto-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.15.1
- uses: bufbuild/buf-setup-action@v1.17.0
- uses: bufbuild/buf-push-action@v1
with:
input: "proto"
Expand Down
Loading

0 comments on commit c83a50f

Please sign in to comment.