build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.11 to 3.23.… #217
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: 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 ./... |