fix: panic from Vault Provider when Transport is not supplied #889
This file contains hidden or 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: Run Tests | |
| # Triggers the workflow on push or pull request events | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| go: [ '1.23', '1.24', '1.25' ] | |
| runs-on: ubuntu-latest | |
| name: Go ${{ matrix.go }} Tests | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| check-latest: true | |
| - name: Run all tests | |
| run: go test -v github.com/knadh/koanf... | |
| - name: Run Coverage | |
| run: go test -v -cover ./... | |
| race: | |
| runs-on: ubuntu-latest | |
| name: Race Detection Tests | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.24' | |
| check-latest: true | |
| - name: Run race detection tests | |
| run: go test -race -v github.com/knadh/koanf... |