Skip to content

chore: fix fuzz test and changelog for 0.1.2 release #99

chore: fix fuzz test and changelog for 0.1.2 release

chore: fix fuzz test and changelog for 0.1.2 release #99

Workflow file for this run

# Copyright (c) HashiCorp, Inc.
name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build
strategy:
fail-fast: true
matrix:
go: ["1.20", "1.19", "1.18"]
platform: [ubuntu-latest] # can not run in windows OS
runs-on: ${{ matrix.platform }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
- name: go mod package cache
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
- name: Build
run: |
go build ./...
- name: Test
run: |
go test ./...
- name: Coverage
run: |
make coverage-diff