Support lb type param on terraform sdk #954
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: Tests | |
# Runs unit and acceptance tests for pull requests and pushes to main. | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
unit: | |
# Runs `go vet` and unit tests. | |
strategy: | |
matrix: | |
go-version: [1.20.x, 1.21.x] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: make vet | |
run: make vet | |
- name: Lint with golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
only-new-issues: true | |
- name: Run terrafmt | |
run: make terrafmt-check | |
- name: make test | |
run: make test |