refactor(vesting): fix build (#19539)

This commit is contained in:
Julien Robert
2024-02-24 14:41:22 +01:00
committed by GitHub
parent 4b73e31b00
commit 619e0da8da
8 changed files with 5 additions and 397 deletions
-20
View File
@@ -1,5 +1,4 @@
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:
@@ -28,28 +27,12 @@ jobs:
with:
go-version: "1.22"
check-latest: true
- uses: technote-space/get-diff-action@v6.1.2
id: git_diff
with:
PATTERNS: |
**/*.go
go.mod
go.sum
**/go.mod
**/go.sum
**/Makefile
Makefile
flake.lock
flake.nix
simapp/default.nix
###################
#### Build App ####
###################
- name: Build
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} make build
- name: Build Legacy
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} COSMOS_BUILD_OPTIONS=legacy make build
- name: Build with rocksdb backend
if: |
@@ -60,11 +43,8 @@ jobs:
## Build Tooling ##
###################
- name: Build Cosmovisor
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} make cosmovisor
- name: Build Confix
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} make confix
- name: Build Hubl
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} make hubl