build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 #233
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: 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@v5 | |
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 ./... |