Merge pull request #747 from openshift-kni/snyk-exclude-test-code #44
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: CI Format | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
format: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up golang | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.6 | |
- name: format | |
run: ./hack/check-format.sh |