Bump go.uber.org/zap from 1.21.0 to 1.26.0 in /extension/observer/dockerobserver #1325
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: stability-tests | |
on: | |
push: | |
branches: [ main ] | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+*' | |
pull_request: | |
jobs: | |
setup-environment: | |
runs-on: ubuntu-latest | |
outputs: | |
stabilitytest_matrix: ${{ steps.splitstabilitytest.outputs.stabilitytest_matrix}} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.17 | |
- name: Setup Go Environment | |
run: | | |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV | |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
- name: Cache Go | |
id: module-cache | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-go-modules | |
with: | |
path: | | |
/home/runner/go/pkg/mod | |
/home/runner/.cache/go-build | |
key: v1-go-pkg-mod-${{ runner.os }}-${{ hashFiles('**/go.mod', '**/go.sum') }} | |
- name: Cache Tools | |
id: tool-cache | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-tool-binaries | |
with: | |
path: /home/runner/go/bin | |
key: v1-tools-${{ runner.os }}-${{ hashFiles('./internal/tools/go.mod') }} | |
- name: Install dependencies | |
if: steps.module-cache.outputs.hit != 'true' | |
run: make -j2 gomoddownload | |
- name: Install Tools | |
if: steps.tool-cache.outputs.cache-hit != 'true' | |
run: make install-tools | |
- name: Split Stability Jobs | |
id: splitstabilitytest | |
run: ./.github/workflows/scripts/setup_stability_tests.sh | |
stability-test: | |
# Stability tests disabled in the makefile, this job is currently running a noop make target | |
runs-on: ubuntu-latest | |
needs: [setup-environment] | |
strategy: | |
fail-fast: false | |
matrix: ${{ fromJson(needs.setup-environment.outputs.stabilitytest_matrix) }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.17 | |
- name: Setup Go Environment | |
run: | | |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV | |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
- name: Cache Go | |
id: module-cache | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-go-modules | |
with: | |
path: | | |
/home/runner/go/pkg/mod | |
/home/runner/.cache/go-build | |
key: v1-go-pkg-mod-${{ runner.os }}-${{ hashFiles('**/go.mod', '**/go.sum') }} | |
- name: Run Stability Tests | |
run: make stability-tests | |
env: | |
TEST_ARGS: "-test.run=${{ matrix.test }}" | |
- name: Create Test Result Archive | |
if: ${{ failure() || success() }} | |
continue-on-error: true | |
run: tar -cvf stabilitytest_results.tar testbed/stabilitytests/results | |
- name: Upload Test Results | |
if: ${{ success() }} | |
continue-on-error: true | |
uses: actions/upload-artifact@v3 | |
with: | |
name: stability-test-results | |
path: stabilitytest_results.tar |