Bump shellcheck to v0.10.0 #212
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: Sanity Test | |
on: | |
pull_request: | |
branches: | |
- main | |
- release-* | |
jobs: | |
build_push: | |
if: (github.repository == 'kubevirt/must-gather') | |
name: Pull Request Sanity | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.ref }} | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.19' # The Go version to download (if necessary) and use. | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
env: | |
SHELLCHECK_OPTS: -a -e SC2016 -e SC2317 --source-path=./collection-scripts | |
with: | |
check_together: 'yes' | |
version: v0.10.0 | |
scandir: './collection-scripts/' | |
- name: check vmConvertor | |
run: |- | |
cd cmd/vmConvertor | |
go test . | |
go build . | |
ls -l |