This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
Merge pull request #53 from jmacd/jmacd/from_oaa #138
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
name: build-and-test-windows | |
on: | |
push: | |
branches: [ main ] | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+*' | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
windows-unittest: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ~1.19.6 | |
- name: Cache Go | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-go-modules | |
with: | |
path: | | |
~\go\pkg\mod | |
~\AppData\Local\go-build | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
- name: Run Unit Tests | |
run: make gotest |