build(deps): bump golang.org/x/sys from 0.26.0 to 0.27.0 #260
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.18) and the latest two | |
go-version: ['1.18', '1.22', '1.23'] | |
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.23' && matrix.platform == 'ubuntu-latest' | |
run: diff -u <(echo -n) <(go fmt $(go list ./...)) | |
- name: Run unit tests | |
run: go test -race -v ./... |