Skip to content

Bump github.com/hashicorp/raft from 1.5.0 to 1.6.0 #6396

Bump github.com/hashicorp/raft from 1.5.0 to 1.6.0

Bump github.com/hashicorp/raft from 1.5.0 to 1.6.0 #6396

Workflow file for this run

name: VMProxy
on:
push:
branches:
- main
- pmm-*
tags:
- v[0-9]+.[0-9]+.[0-9]+*
pull_request:
paths-ignore:
- "admin/**"
- "agent/**"
- "api-tests/**"
- "cli-tests/**"
- "docs/**"
- "managed/**"
- "qan-api2/**"
- "update/**"
jobs:
test:
name: Tests
runs-on: ubuntu-22.04
strategy:
fail-fast: false
defaults:
run:
working-directory: ${{ github.workspace }}/vmproxy
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go release
uses: actions/setup-go@v5
with:
go-version-file: ${{ github.workspace }}/go.mod
cache: false
- name: Enable Go build cache
uses: actions/cache@v3
with:
path: ~/.cache/go-build
key: ${{ runner.os }}-go-build-${{ github.ref }}-${{ hashFiles('**') }}
restore-keys: |
${{ runner.os }}-go-build-${{ github.ref }}-
${{ runner.os }}-go-build-
- name: Enable Go modules cache
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-modules-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-modules-
- name: Download Go modules
run: go mod download -x
- name: Build and install
run: make install
- name: Run tests
run: make test-cover
- name: Upload coverage results
uses: codecov/codecov-action@v3
with:
file: cover.out
flags: vmproxy
fail_ci_if_error: false
- name: Run debug commands on failure
if: ${{ failure() }}
run: |
env
go version
go env
pwd
git status