Skip to content

Merge pull request #59 from hashicorp/TF-12458/expose-deprecation-att… #141

Merge pull request #59 from hashicorp/TF-12458/expose-deprecation-att…

Merge pull request #59 from hashicorp/TF-12458/expose-deprecation-att… #141

Workflow file for this run

---
name: test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: setup go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: go.mod
- name: build
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: setup go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: go.mod
- name: test
run: go test -race ./...