Skip to content

Readme: Add go pkg badge and unit test status badge (#5) #5

Readme: Add go pkg badge and unit test status badge (#5)

Readme: Add go pkg badge and unit test status badge (#5) #5

Workflow file for this run

name: Unit Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.20', '1.21.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
# You can test your matrix by printing the current Go version
- name: Display Go version
run: go version
- name: Install Dependencies
run: go mod download
- name: Run Unit Tests
run: go test -v ./...