Skip to content

build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.11 to 3.23.… #217

build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.11 to 3.23.…

build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.11 to 3.23.… #217

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
strategy:
matrix:
# Minimum supported version (1.17) and the latest two
go-version: ['1.17', '1.19', '1.20']
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Check formatting
if: matrix.go-version == '1.20' && matrix.platform == 'ubuntu-latest'
run: diff -u <(echo -n) <(go fmt $(go list ./...))
- name: Run unit tests
run: go test -race -v ./...