build: bump finschis-sdk from v0.49.0-rc4 to v0.49.0-rc5 #220
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@v5 | |
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/misspell@v0.3.4 | |
- name: install goimports-reviser | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
go install github.com/incu6us/goimports-reviser/v3@v3.4.5 | |
- name: Make Format | |
run: make format | |
- name: Check Diff | |
run: git diff --exit-code |