-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update proto files * chore: remove deprecated protos * fix: remove x/identity ibc * fix: protobuf generation, fix tests * fix: taskfile * fix: bob and taskfile * feat: fix directory structure and create bob.build config * fix: build workflow * fix: makefile * fix: remove auto-pr flow * fix: buf publish deps * fix: build * fix: build * fix: build runners * fix: workflow runner groups * fix: tests * fix: buf lint * fix: bob project * fix: readme * init: clean hidden files * Add openapi spec * feat: remove deprecated workflows * fix: build workflow * Update proto definitions * fix: vscode * feat: add cli * feat: fix plugin manifest
- Loading branch information
Showing
227 changed files
with
96,566 additions
and
6,932 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -16,70 +16,38 @@ on: | |
pull_request: | ||
branches: | ||
- "**" | ||
push: | ||
branches: | ||
- "v[0-9]**" | ||
workflow_dispatch: | ||
merge_group: | ||
env: | ||
GO_VERSION: "1.20.5" | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-default: | ||
name: Build sonrd-${{ matrix.targetos }}-${{ matrix.arch }} | ||
runs-on: ubuntu-latest | ||
|
||
name: Build sonrd-${{ matrix.targetos }}-${{ matrix.arch }} for ${{ github.ref }} | ||
runs-on: self-hosted | ||
strategy: | ||
matrix: | ||
arch: [amd64, arm64] | ||
targetos: [darwin, linux] | ||
include: | ||
- targetos: darwin | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: Get git diff | ||
uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
**/**.wasm | ||
**/**.go | ||
go.mod | ||
go.sum | ||
Makefile | ||
.github/workflows/build.yml | ||
|
||
- uses: actions/setup-go@v4 | ||
if: env.GIT_DIFF | ||
with: | ||
go-version: ${{env.GO_VERSION}} | ||
env: | ||
GOOS: ${{ matrix.targetos }} | ||
GOARCH: ${{ matrix.arch }} | ||
|
||
- name: Download Dependencies | ||
if: env.GIT_DIFF | ||
run: go mod download | ||
- name: Build sonrd | ||
if: env.GIT_DIFF | ||
run: | | ||
GOWRK=off go build cmd/sonrd/main.go | ||
- name: Upload sonrd artifact | ||
if: env.GIT_DIFF | ||
uses: actions/upload-artifact@v3 | ||
- run: make build | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: sonrd-${{ matrix.targetos }}-${{ matrix.arch }} | ||
path: cmd/sonrd/sonrd | ||
|
||
build-make: | ||
name: Build using makefile | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: Run make build | ||
run: make build | ||
path: bin/sonrd |
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 was deleted.
Oops, something went wrong.
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,9 +1,10 @@ | ||
name: "🧪 CodeQL Analysis" | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
schedule: | ||
- cron: "43 3 * * 2" | ||
|
||
jobs: | ||
codeql-analysis: | ||
name: Run CodeQL Analysis | ||
|
@@ -12,44 +13,37 @@ jobs: | |
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: ["go", "typescript"] | ||
queries: ['crypto-com/[email protected]'] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] | ||
# Learn more about CodeQL language support at https://git.io/codeql-language-support | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# 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@v1 | ||
|
||
# ℹ️ 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 | ||
|
||
#- run: | | ||
# make bootstrap | ||
# make release | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 | ||
|
||
coverage: | ||
name: Scan/Upload Coverage | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v3 | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
- name: SonarCloud Scan | ||
uses: sonarsource/sonarcloud-github-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_PAT }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ permissions: | |
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
runs-on: self-hosted | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -21,7 +21,7 @@ jobs: | |
input: "proto" | ||
|
||
break-check: | ||
runs-on: ubuntu-latest | ||
runs-on: self-hosted | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: bufbuild/[email protected] | ||
|
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.