Skip to content

Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.30.0 to 2.34.0 #383

Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.30.0 to 2.34.0

Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.30.0 to 2.34.0 #383

name: build-and-test
on:
push:
branches:
- main
pull_request:
env:
GO_VERSION: "1.20"
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Caching dependency
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Build
run: make build
test:
name: test
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Caching dependency
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Test
run: make test