Skip to content

Update mssql driver #52

Update mssql driver

Update mssql driver #52

Workflow file for this run

name: Test
on:
pull_request:
paths-ignore:
- 'README.md'
workflow_call:
permissions:
contents: read
env:
GO_VERSION: '1.18'
jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v3
- run: make build
check:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v3
- run: go generate ./...
- name: Ensure generated code is up to date
run: |
git diff --compact-summary --exit-code || \
(echo; echo "Unexpected difference in directories after code generation. Run 'make generate' command and commit."; exit 1)
test:
name: Terraform Provider Acceptance Tests
needs: build
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
terraform:
- '1.0.*'
- '1.8.*'
- '1.9.*'
steps:
- uses: KengoTODA/actions-setup-docker-compose@v1
with:
version: '1.29.2' # fairly old, matches docker-compose version from nix, update..
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: hashicorp/setup-terraform@v1
with:
terraform_version: ${{ matrix.terraform }}
terraform_wrapper: false
- uses: actions/checkout@v3
- run: make test
timeout-minutes: 10