Skip to content

Bump github/codeql-action from 2.21.2 to 2.21.5 #2180

Bump github/codeql-action from 2.21.2 to 2.21.5

Bump github/codeql-action from 2.21.2 to 2.21.5 #2180

Workflow file for this run

---
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@f43a0e5ff2bd294095638e18286ca9a3d1956744
- 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@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: Unit test artifacts
path: artifacts