Skip to content

Bump golang.org/x/sys from 0.11.0 to 0.28.0 in /pkg/gohai #2

Bump golang.org/x/sys from 0.11.0 to 0.28.0 in /pkg/gohai

Bump golang.org/x/sys from 0.11.0 to 0.28.0 in /pkg/gohai #2

Workflow file for this run

name: "Gohai Test"
# Only run the tests if pkg/gohai was changed
on:
push:
branches:
- main
- 7.[0-9][0-9].x
paths:
- 'pkg/gohai/**'
pull_request:
paths:
- 'pkg/gohai/**'
jobs:
gohai_test:
strategy:
matrix:
# Use oldest and latest available ubuntu, macos and windows
os: [ubuntu-20.04, ubuntu-latest, macos-11, macos-latest, windows-2019, windows-latest]
# Run tests with both the agent's version and gohai's pinned version
go-file: [.go-version, pkg/gohai/go.mod]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: ${{ matrix.go-file }}
- name: Test
run: cd pkg/gohai && go test ./...