fix(security/unknown/itest): update module github.com/klauspost/compress to v1.18.7 [security] #242
Workflow file for this run
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: Integration Tests | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'examples/**' | |
| - 'src/**' | |
| - 'otel-extension/**' | |
| - 'lib/**' | |
| - 'itest/**' | |
| - 'build.gradle' | |
| - 'gradle.properties' | |
| - 'settings.gradle' | |
| - '.github/workflows/integration-tests.yml' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'examples/**' | |
| - 'src/**' | |
| - 'otel-extension/**' | |
| - 'lib/**' | |
| - 'itest/**' | |
| - 'build.gradle' | |
| - 'gradle.properties' | |
| - 'settings.gradle' | |
| - '.github/workflows/integration-tests.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| discover-tests: | |
| runs-on: ubuntu-x64-small | |
| outputs: | |
| tests: ${{ steps.list.outputs.tests }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Go | |
| uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5 | |
| with: | |
| go-version: 'stable' | |
| cache-dependency-path: itest/go.sum | |
| - name: List test functions | |
| id: list | |
| run: | | |
| tests=$(cd itest && go test -list '^Test' ./... 2>/dev/null | grep '^Test' | jq -R -s -c 'split("\n") | map(select(length > 0))') | |
| echo "tests=$tests" >> "$GITHUB_OUTPUT" | |
| integration-test: | |
| needs: discover-tests | |
| runs-on: ubuntu-x64-small | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| test: ${{ fromJson(needs.discover-tests.outputs.tests) }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up JDK | |
| uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'zulu' | |
| - name: Set up Go | |
| uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5 | |
| with: | |
| go-version: 'stable' | |
| cache-dependency-path: itest/go.sum | |
| - name: Build | |
| run: make build | |
| - name: Run ${{ matrix.test }} | |
| run: cd itest && go test -v -timeout 20m -count=1 -run '^${{ matrix.test }}$$' ./... |