build: bump up finschia-sdk from v0.48.0 to v0.48.1 #50
Workflow file for this run
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 Make Format | |
# this workflow checks that go files is formated by `make format` | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Display go version | |
run: go version | |
- uses: actions/cache@v3 | |
id: cache | |
with: | |
path: ~/go/bin | |
key: ${{ runner.os }}-go-v1.20-misspell-v0.3.4-goimports-reviser-v3.4.5 | |
- name: install misspell | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
go install github.com/client9/misspell/cmd/[email protected] | |
- name: install goimports-reviser | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
go install github.com/incu6us/goimports-reviser/[email protected] | |
- name: Make Format | |
run: make format | |
- name: Check Diff | |
run: git diff --exit-code |