Skip to content

chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 i… #160

chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 i…

chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 i… #160

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: stable
- name: compile for all supported GOOS/GOARCH
run: ./build.sh