Bump github.com/vmware/govmomi from 0.30.4 to 0.36.3 #91
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: unit tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
mod: | |
runs-on: ubuntu-latest | |
name: Check modules | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.20.x | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Check mod file is updated | |
run: go mod tidy && git diff --exit-code go.mod go.sum | |
test: | |
runs-on: ubuntu-latest | |
name: Run unit tests | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.20.x | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Ginkgo | |
run: go install github.com/onsi/ginkgo/v2/ginkgo | |
- name: Run vet | |
run: go vet ./... | |
- name: Run unit tests | |
run: ginkgo -p -r --race --randomize-all --randomize-suites . |