Skip to content

Bump github.com/hashicorp/hcl/v2 from 2.20.1 to 2.21.0 #1146

Bump github.com/hashicorp/hcl/v2 from 2.20.1 to 2.21.0

Bump github.com/hashicorp/hcl/v2 from 2.20.1 to 2.21.0 #1146

Workflow file for this run

name: test
on:
pull_request:
push:
branches:
- main
env:
GOPROXY: https://proxy.golang.org/
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
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 -cover -covermode=atomic -timeout=5m -race ./...