Bump github.com/aws/aws-sdk-go-v2 from 1.43.0 to 1.45.1 #223
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: Test | |
| on: | |
| pull_request: | |
| merge_group: | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - id: filter | |
| uses: dorny/paths-filter@v4 | |
| with: | |
| filters: | | |
| code: | |
| - '**/*.go' | |
| - 'Makefile' | |
| - 'go.*' | |
| - '.github/workflows/test.yml' | |
| - run: echo "GO_VERSION=$(cat .github/workflows/go-version.env | grep GO_VERSION | cut -d '=' -f2)" >> $GITHUB_ENV | |
| if: steps.filter.outputs.code == 'true' && hashFiles('go.mod') != '' | |
| - uses: actions/setup-go@v7 | |
| if: steps.filter.outputs.code == 'true' && hashFiles('go.mod') != '' | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - name: Install SoftHSM2 (PKCS#11 integration tests) | |
| if: steps.filter.outputs.code == 'true' && hashFiles('go.mod') != '' | |
| run: sudo apt-get update && sudo apt-get install -y softhsm2 | |
| - name: Test kms (race detector) | |
| if: steps.filter.outputs.code == 'true' && hashFiles('go.mod') != '' | |
| run: make test-race | |
| env: | |
| # Hard-fail if SoftHSM2 is missing instead of auto-skipping the PKCS#11 tests. | |
| KMS_SOFTHSM_LIB: /usr/lib/softhsm/libsofthsm2.so |