Skip to content

build(deps): bump github.com/hashicorp/vault/api from 1.12.2 to 1.13.0 #34

build(deps): bump github.com/hashicorp/vault/api from 1.12.2 to 1.13.0

build(deps): bump github.com/hashicorp/vault/api from 1.12.2 to 1.13.0 #34

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
pre_job:
# continue-on-error: true
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: 'same_content_newer'
skip_after_successful_duplicate: 'true'
cancel_others: 'true'
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
test:
name: Test
needs: pre_job
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.22]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Setup tools
run: sudo apt-get update && sudo apt-get install -y make
- name: Setup gotest
run: curl -L https://gotest-release.s3.amazonaws.com/gotest_linux > gotest && chmod +x gotest && sudo mv gotest /usr/bin/gotest
#
- name: Test
if: needs.pre_job.outputs.should_skip != 'true'
run: make test-coverage
#
- name: Hack Code Climate and Go Modules
if: github.event_name != 'pull_request' && github.ref_name == 'main'
run: mkdir -p github.com/${{ github.repository_owner }} && ln -sf $(pwd) github.com/${{ github.repository }}
- name: Test & publish code coverage
if: github.event_name != 'pull_request' && github.ref_name == 'main'
uses: paambaati/codeclimate-action@v5
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: make test-coverage
debug: true