Skip to content

Update module golang.org/x/sys to v0.26.0 #257

Update module golang.org/x/sys to v0.26.0

Update module golang.org/x/sys to v0.26.0 #257

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
golang:
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.21', '1.22', 'stable' ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go version
- run: go build ./...
- run: go test -race -v ./...
- uses: golangci/golangci-lint-action@v4
with:
skip-pkg-cache: true
skip-build-cache: true
golang_cross:
name: Cross Compile
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.21', '1.22', 'stable' ]
goos: [ 'freebsd', 'linux', 'openbsd' ]
env:
GOOS: ${{ matrix.goos }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go build ./...
env:
GOOS: ${{ matrix.goos }}
CGO_ENABLED: 0