Skip to content

Bump github.com/zclconf/go-cty from 1.13.3 to 1.14.0 #78

Bump github.com/zclconf/go-cty from 1.13.3 to 1.14.0

Bump github.com/zclconf/go-cty from 1.13.3 to 1.14.0 #78

Workflow file for this run

name: test
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
env:
GOPROXY: https://proxy.golang.org/
jobs:
copywrite:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout Repo
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # https://github.com/actions/checkout/releases/tag/v3.6.0
- name: Install copywrite
uses: hashicorp/setup-copywrite@v1.1.2
- name: Validate Header Compliance
run: copywrite headers --plan
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
go:
- "1.18"
- "1.19"
- "1.20"
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # https://github.com/actions/checkout/releases/tag/v3.6.0
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # https://github.com/actions/setup-go/releases/tag/v4.1.0
with:
go-version: ${{ matrix.go }}
- name: Go mod download
run: go mod download -x
- name: Go mod verify
run: go mod verify
- name: Run tests
run: go test -v ./...