Skip to content

Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.31.0 to 2.32.0 #702

Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.31.0 to 2.32.0

Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.31.0 to 2.32.0 #702

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.20
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Fmt check
run: make fmtcheck
- name: Unit tests
run: make test
- name: Build
run: make build
lint:
name: "Static analysis"
runs-on: "ubuntu-latest"
steps:
- uses: WillAbides/setup-go-faster@v1.7.0
with:
go-version: "1.20.x"
- run: "GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck@2023.1.2"
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: actions/cache@v2
with:
path: ~/.cache/staticcheck
key: staticcheck-${{ github.sha }}
restore-keys: |
staticcheck-
- run: "go vet ./..."
- run: "$(go env GOPATH)/bin/staticcheck -go 1.20 ./..."