Bump github.com/hashicorp/vault/api from 1.13.0 to 1.14.0 #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Vaultify Workflow | |
on: | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- '**/*.md' # Ignore changes in markdown files only | |
pull_request: | |
branches: [ "main" ] | |
paths-ignore: | |
- '**/*.md' # Ignore changes in markdown files only | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
ref: main | |
path: './' | |
- name: Set up Go | |
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 | |
with: | |
go-version-file: 'go.mod' | |
cache: true | |
- name: Run Go Tests | |
run: go test -v ./tests -coverprofile=coverage.out | |
continue-on-error: false | |
- name: Check for Test Failures | |
if: failure() | |
run: echo "Tests failed. Check the logs for more details." | |
- name: Test Coverage | |
run: go tool cover -func=coverage.out | |
continue-on-error: false |