Open Nibba2018 opened 1 year ago
Hi @Nibba2018 . Thanks for the feeback.
Seems that machine/image you are using for the action does not have tar
tool.
You can add tar
to your image or use another github action to install it.
I tested with default ubuntu-latest
image that has tar
by default and it works:
jobs:
testIssue:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
with:
command: fmt -d example_test ./...
swagWersion: 1.8.7
Code: https://github.com/yegorrybchenko/go-swag-action/blob/swag-fmt-fix/.github/workflows/test-issue.yml Result: https://github.com/yegorrybchenko/go-swag-action/actions/runs/3543316092/jobs/5949656924
I will update docs for that
Hello, Thank you for the project.
When I try to run
swag fmt
I have the following error:Could you please share some fix. Thank you.