Skip to content

Merge pull request #34 from tonedefdev/aws-sdk-v2-and-dep-updates #23

Merge pull request #34 from tonedefdev/aws-sdk-v2-and-dep-updates

Merge pull request #34 from tonedefdev/aws-sdk-v2-and-dep-updates #23

Workflow file for this run

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