Skip to content

Prep v2.37.0 (#1141) #1

Prep v2.37.0 (#1141)

Prep v2.37.0 (#1141) #1

Workflow file for this run

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