Skip to content

chore(deps): bump golang.org/x/sys from 0.35.0 to 0.40.0 #34

chore(deps): bump golang.org/x/sys from 0.35.0 to 0.40.0

chore(deps): bump golang.org/x/sys from 0.35.0 to 0.40.0 #34

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
paths-ignore:
- "*.md"
- "*.tape"
- ".github/workflows/goreleaser.yml"
- ".github/workflows/vhs.yml"
pull_request:
branches: [ "main" ]
jobs:
# Build and test on macOS ARM64 (build/lint only - no hypervisor access in CI)
build-macos:
runs-on: macos-14 # ARM64 runner
steps:
- uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "stable"
- name: Build library
run: go build -v ./...
- name: Build CLI
run: |
sw_vers
make dev
./hv check
- name: Run go vet
run: go vet ./...
- name: Run go fmt check
run: |
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then
echo "Code not formatted properly:"
gofmt -s -l .
exit 1
fi
- name: Test (build-time tests only)
run: go test -v -tags='!hypervisor' ./...
env:
# Skip runtime hypervisor tests in CI (no entitlements/nested virtualization)
CI: true