feat: show usage text when CLI cmd fails because of missing a required argument #3842
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: gofmt | |
# We only want one run of this on a branch | |
# if you push another commit the previous run should cancel | |
concurrency: | |
group: "gofmt-${{ github.ref }}" | |
cancel-in-progress: true | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
gofmt: | |
name: gofmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- uses: actions/checkout@v3 | |
- run: scripts/generate-kurtosis-version.sh | |
- uses: Jerome1337/[email protected] | |
with: | |
gofmt-path: './' | |
gofmt-flags: '-l -d -s' |