diff options
author | Matt Joiner <anacrolix@gmail.com> | 2022-10-27 09:52:13 +1100 |
---|---|---|
committer | Matt Joiner <anacrolix@gmail.com> | 2022-10-27 09:52:13 +1100 |
commit | d96e8113fca5e328319c0971f6d977cc467f6b6c (patch) | |
tree | 4833a6f352096c791aa5b4780bc3e75621c45b2b | |
parent | missing Get func added (#6) (diff) | |
download | stm-d96e8113fca5e328319c0971f6d977cc467f6b6c.tar.gz stm-d96e8113fca5e328319c0971f6d977cc467f6b6c.tar.xz |
Add go test CI action
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/go.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..6519f90 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,23 @@ +# This workflow will build a golang project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go + +name: Go + +on: + push: + pull_request: + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.18 + + - name: Test + run: go test -v ./... |