Skip to content

(TFECO-7725) schema additions for ephemeral values #1075

(TFECO-7725) schema additions for ephemeral values

(TFECO-7725) schema additions for ephemeral values #1075

Workflow file for this run

name: ci
on:
pull_request:
branches:
- main
- pre-release
push:
branches:
- main
- pre-release
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install copywrite
uses: hashicorp/setup-copywrite@v1.1.3
- name: Validate Header Compliance
run: copywrite headers --plan
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
steps:
-
name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
-
name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: ".go-version"
-
name: Go mod download
run: go mod download -x
-
name: Go mod verify
run: go mod verify
-
name: Run go fmt
run: go run github.com/mh-cbon/go-fmt-fail ./...
-
name: Run tests
run: go test -v -race -covermode=atomic ./...