test: add xtrace for github action shells

For all Rook-maintained GH actions, use a default shell that has xtrace
enabled to help debug any errors.

Enable xtrace on all actions except these that use only external tools:
- codespell
- commitlint (wagoid/commitlint)
- golangci-lint
- helm-lint (chart-testing)
- stale
- yamllint

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
This commit is contained in:
Blaine Gardner committed 2021-06-22 10:58:08 -06:00
1 parent 5e7d9ba8ea
commit e71882fd16
17 files changed
+89 -3

No files matched your search

+5
View File
@@ -11,6 +11,11 @@ on:
- master
- release-*
defaults:
run:
# reference: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell
shell: bash --noprofile --norc -eo pipefail -x {0}
jobs:
codegen:
runs-on: ubuntu-18.04