Skip to content

chore: replace tendermint with cometbft #68

chore: replace tendermint with cometbft

chore: replace tendermint with cometbft #68

Workflow file for this run

name: Check Generated Files Up-to-date
on:
- pull_request
jobs:
check-go-generate-up-to-date:
strategy:
matrix:
go-version:
- 1.23
os:
- ubuntu-22.04
runs-on: ${{ matrix.os }}
steps:
- name: Setup Golang with cache
uses: magnetikonline/action-golang-cache@v2
with:
go-version: ${{ matrix.go-version }}
- name: Install Python
uses: actions/setup-python@v3
- name: Cache Python
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: pip-cache
- name: Set up ssh agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.CICD_RSA_KEY }}
- name: Checkout code
uses: actions/checkout@v2
- name: Install prereqs
run: |
git config --global url."[email protected]:axelarnetwork".insteadOf https://github.com/axelarnetwork
go install golang.org/x/tools/cmd/goimports
go install github.com/matryer/moq
- name: Run go generate
run: make generate
- name: Run goimports
run: make goimports
- name: Check for changes
run: |
if [ -n "$(git status --porcelain)" ]; then
echo Following files are changed...
git status
echo Changes:
git diff
exit 1;
else
exit 0;
fi