Bump actions/stale from b69b346013879cedbf50c69f572cd85439a41936 to 3f3b0175e8c66fb49b9a6d5a0cd1f8436d4c3ab6 #2356
Workflow file for this run
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: | |
permissions: {} | |
jobs: | |
unit-testing: | |
name: Go Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- 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@c7d193f32edcb7bfad88892161225aeda64e9392 | |
with: | |
name: Unit test artifacts | |
path: artifacts |