Skip to content

Merge pull request #59 from D4ryl00/chore/update-kubo-v0.29.0 #120

Merge pull request #59 from D4ryl00/chore/update-kubo-v0.29.0

Merge pull request #59 from D4ryl00/chore/update-kubo-v0.29.0 #120

Workflow file for this run

name: Go
on:
push:
branches:
- master
pull_request:
jobs:
go-tests:
name: "test: ${{ matrix.os }}/go-${{ matrix.golang }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
golang: ["1.21.x", "1.22.x"]
os: ["windows-latest", "macos-latest", "ubuntu-latest"]
env:
OS: ${{ matrix.os }}
GOLANG: ${{ matrix.golang }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.golang }}
- name: Check go.mod and go.sum
run: |
go mod tidy -v
git --no-pager diff go.mod go.sum
git --no-pager diff --quiet go.mod go.sum
- name: Run tests
run: go test -v -count=5 ./...