Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Update README.md

Update README.md #45

Workflow file for this run

name: Unit Test
on:
push:
tags: ['v[0-9]+.[0-9]+.[0-9]+']
branches:
- main
pull_request:
env:
GO_VERSION: "1.13"
jobs:
unit-test:
name: unit-test
runs-on: ubuntu-latest
steps:
- name: Check out the codebase
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- name: Caching dependency
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Run unit tests
run: go test ./...