Aws sdk v2 and dep updates #22
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
name: Windows Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-win: | |
name: Build and Test Windows | |
runs-on: windows-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.19 | |
id: go | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Build | |
run: | | |
go build . | |
- name: Test | |
run: | | |
New-Item -ItemType Directory -Name terraform.d -Path $env:APPDATA | Out-Null | |
$env:HOME=$env:APPDATA | |
$env:TC_CONFIG_PATH=$env:APPDATA | |
$env:PATH += ";$pwd" | |
cd cmd | |
go test -v -cover |