Skip to content

fix(deps): update module github.com/hashicorp/go-memdb to v1.3.5 #1227

fix(deps): update module github.com/hashicorp/go-memdb to v1.3.5

fix(deps): update module github.com/hashicorp/go-memdb to v1.3.5 #1227

Workflow file for this run

name: test
on:
push:
branches:
- main
- renovate/**
pull_request:
branches:
- '**'
permissions: {}
jobs:
test:
strategy:
matrix:
go-version: [ 1.16.x, 1.17.x, oldstable, stable ] # Lowest supported and current stable versions.
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Go cache
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-cache-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-cache
- name: Run gofmt
run: gofmt -d -e . 2>&1 | tee outfile && test -z "$(cat outfile)" && rm outfile
- name: Run staticcheck
if: matrix.go-version == 'stable'
uses: dominikh/staticcheck-action@9716614d4101e79b4340dd97b10e54d68234e431 # v1.4.1
with:
version: "latest"
install-go: false
cache-key: ${{ matrix.go }}
- name: Run go vet
run: |
go vet ./...
cd _examples && go vet ./... && cd ..
- name: Run go test
run: |
go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
cd _examples && go test -v -race ./... && cd ..
- name: Run godog
run: |
go install ./cmd/godog
godog -f progress --strict
- name: Report on code coverage
if: matrix.go-version == 'stable'
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
file: ./coverage.txt