Merge pull request #34 from tonedefdev/aws-sdk-v2-and-dep-updates #23
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: Ubuntu Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-mac: | |
name: Build and Test Ubuntu | |
runs-on: ubuntu-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: | | |
mkdir $HOME/.terraform.d | |
go build . | |
env: | |
HOME: /home/runner | |
- name: Test | |
run: | | |
export PATH=$PATH:$PWD | |
cd cmd | |
go test -v -cover |