feat(proto)!: upgrade proto to cosmos sdk v0.47 #2688
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
name: Check protobuf generated files up-to-date | |
on: | |
- pull_request | |
jobs: | |
check-proto-generate-up-to-date: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Debug group info | |
run: | | |
echo "Current groups:" | |
groups | |
echo "Before permission change:" | |
ls -la | |
sudo chmod -R g+w . | |
echo "After permission change:" | |
ls -la | |
- name: Setup Golang with cache | |
uses: magnetikonline/action-golang-cache@v2 | |
with: | |
go-version: 1.23 | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install prereqs | |
run: | | |
go install github.com/rakyll/statik | |
- name: Generate proto files and docs | |
run: make proto-format proto-gen | |
- 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 |