Bump github.com/prometheus-operator/prometheus-operator/pkg/client from 0.76.2 to 0.78.1 #5925
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: Unit Tests | |
on: | |
pull_request: | |
push: | |
tags: | |
- 'v**' | |
permissions: {} | |
jobs: | |
unit-testing: | |
name: Go Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Create artifacts directory | |
run: mkdir artifacts | |
- name: Run Go unit tests | |
run: | | |
set -o pipefail | |
make unit 2>&1 | tee artifacts/unittest.log | |
- name: Collect artifacts | |
run: | | |
for f in $(find ./pkg -name "*.xml"); do | |
mkdir -p artifacts/$(dirname $f) | |
cp $f -rfp artifacts/$f | |
done | |
- name: Upload artifacts | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 | |
with: | |
name: Unit test artifacts | |
path: artifacts |