Commit 8051fbd3 authored by Oscar Campos's avatar Oscar Campos Committed by Oscar Campos
Browse files

fix: change goreturns invocation due Go caching

parent 10fdc146
...@@ -56,9 +56,9 @@ code_linting: ...@@ -56,9 +56,9 @@ code_linting:
- golangci-lint run -v --timeout 5m - golangci-lint run -v --timeout 5m
# run goretuns formating # run goretuns formating
- if [[ $(goreturns -d .) -eq "" ]]; then echo "goreturns check success"; exit 0; fi - if [[ $(goreturns -d ./gdnative ./cmd) -eq "" ]]; then echo "goreturns check success"; exit 0; fi
- echo "ERROR - goreturn check failed" - echo "ERROR - goreturn check failed"
- goreturns -d . - goreturns -d ./gdnative ./cmd
- exit 1 - exit 1
allow_failure: false allow_failure: false
except: except:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment