Skip to content

Bump github.com/hashicorp/go-version from 1.6.0 to 1.7.0 #720

Bump github.com/hashicorp/go-version from 1.6.0 to 1.7.0

Bump github.com/hashicorp/go-version from 1.6.0 to 1.7.0 #720

Workflow file for this run

name: build-pr
on:
pull_request:
branches-ignore:
- pre-release
env:
GOPROXY: https://proxy.golang.org/
jobs:
generate-provider-schemas:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: ".go-version"
- name: Generate provider schemas
run: |
go generate ./internal/schemas
du -h -s ./internal/schemas/data
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- { goos: "linux", goarch: "386" }
- { goos: "linux", goarch: "amd64" }
- { goos: "linux", goarch: "arm" }
- { goos: "linux", goarch: "arm64" }
- { goos: "freebsd", goarch: "386" }
- { goos: "freebsd", goarch: "amd64" }
- { goos: "freebsd", goarch: "arm" }
- { goos: "openbsd", goarch: "386" }
- { goos: "openbsd", goarch: "amd64" }
- { goos: "solaris", goarch: "amd64" }
- { goos: "windows", goarch: "386" }
- { goos: "windows", goarch: "amd64" }
- { goos: "windows", goarch: "arm64" }
- { goos: "darwin", goarch: "arm64" }
- { goos: "darwin", goarch: "amd64" }
timeout-minutes: 25
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: ".go-version"
- name: ${{ matrix.goos }} ${{ matrix.goarch }} build
run: |-
go build \
-trimpath \
-buildvcs=false \
-ldflags "-s -w"