Add a Register function to allow functions to be added to the dispatc… #108
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A basic workflow for Go | |
name: test-go | |
on: [push] | |
defaults: | |
run: | |
shell: bash -ieo pipefail {0} | |
jobs: | |
test: | |
name: golang test & build | |
# Must run on github hosted runners | |
runs-on: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.19.2' # The Go version to download (if necessary) and use. | |
- run: go test ./... | |
- run: go build ./cmd/... |