fix: Handle optional account fields in the state upgrader correctly #2456
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: staticcheck | |
on: [pull_request] | |
jobs: | |
reviewdog: | |
# disable the job temporarily (until we configure linters appropriately) | |
if: false | |
name: reviewdog | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: ./go.mod | |
cache: false | |
- uses: reviewdog/action-staticcheck@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
reporter: github-pr-review | |
filter_mode: nofilter | |
fail_on_error: false |