Bump the dependabot group across 1 directory with 7 updates #63
Workflow file for this run
This file contains hidden or 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: PR Checks | |
| on: | |
| pull_request: | |
| branches: [ main, master, develop ] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Run go vet | |
| run: go vet ./... | |
| - name: Run gofmt | |
| run: | | |
| if [ -n "$(gofmt -s -l .)" ]; then | |
| echo "Go files must be formatted with gofmt. Please run:" | |
| echo " gofmt -s -w ." | |
| gofmt -s -l . | |
| exit 1 | |
| fi | |
| - name: Install goimports | |
| run: go install golang.org/x/tools/cmd/goimports@latest | |
| - name: Run goimports | |
| run: | | |
| if [ -n "$(goimports -l .)" ]; then | |
| echo "Go files must be formatted with goimports. Please run:" | |
| echo " goimports -w ." | |
| goimports -l . | |
| exit 1 | |
| fi | |
| - name: Install misspell | |
| run: go install github.com/client9/misspell/cmd/misspell@latest | |
| - name: Run misspell | |
| run: misspell -error . | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Run tests | |
| run: go test -v -race $(go list ./... | grep -v 'tests/integration/calypr') |