Skip to content

Adds error for FromBytes #10

Adds error for FromBytes

Adds error for FromBytes #10

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.18", "1.19", "1.20", "1.21", "1.22"]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
# You can test your matrix by printing the current Go version
- name: Get dependencies
run: |
go get -v -t ./...
go install gotest.tools/gotestsum@latest
- name: modVerify
run: go mod verify
- name: Run Tests with go testsum
run: gotestsum --format pkgname --jsonfile test.json
- name: Annotate tests
if: always()
uses: guyarb/golang-test-annotations@v0.7.0
with:
test-results: test.json