Skip to content

Fixes casing inconsistency, and adds comments. #7

Fixes casing inconsistency, and adds comments.

Fixes casing inconsistency, and adds comments. #7

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.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.8.0
with:
test-results: test.json