Skip to content

Net 5676 - Service Defaults, Service Splitter, Service Resolver, Service Router and Service Intentions Resource In Terraform Consul Provider #272

Net 5676 - Service Defaults, Service Splitter, Service Resolver, Service Router and Service Intentions Resource In Terraform Consul Provider

Net 5676 - Service Defaults, Service Splitter, Service Resolver, Service Router and Service Intentions Resource In Terraform Consul Provider #272

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version: [1.19.x, 1.20.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
- name: Run go tests
run: make test
- name: Run OSS acceptance tests
run: |
curl -LO https://releases.hashicorp.com/consul/1.16.0/consul_1.16.0_linux_amd64.zip
sudo unzip consul_1.16.0_linux_amd64.zip consul -d /usr/local/bin
SKIP_REMOTE_DATACENTER_TESTS=1 make testacc TESTARGS="-count=1"
- name: Run go vet
run: make vet