Skip to content

Bump the dependabot group across 1 directory with 7 updates #63

Bump the dependabot group across 1 directory with 7 updates

Bump the dependabot group across 1 directory with 7 updates #63

Workflow file for this run

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')