Skip to content

chore(deps): bump golang.org/x/sys from 0.42.0 to 0.43.0 in the gomod… #197

chore(deps): bump golang.org/x/sys from 0.42.0 to 0.43.0 in the gomod…

chore(deps): bump golang.org/x/sys from 0.42.0 to 0.43.0 in the gomod… #197

Workflow file for this run

name: Tests and Build
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
tests:
name: Tests
strategy:
matrix:
go-version: [ stable, oldstable ]
os: [ubuntu-latest, macos-latest, windows-latest]
env:
CGO_ENABLED: 1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: ${{ matrix.go-version }}
- name: Check and get dependencies
run: |
go mod tidy
git diff --exit-code go.mod
git diff --exit-code go.sum
- name: Test
run: go test -v -race ./...
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: stable
- name: compile for all supported GOOS/GOARCH
run: ./build.sh