Skip to content

Format code

Format code #7

Workflow file for this run

on:
push:
branches: main
pull_request:
branches: main
name: Build and validate genesis
jobs:
build:
strategy:
matrix:
go-version: [1.23.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v4
- name: install
run: make install
- name: validate genesis
run: |
for dir in networks/*/; do
if [ -f "$dir/genesis.json" ]; then
mantrachaind genesis validate-genesis "$dir/genesis.json"
fi
done