*: Upload test junit results

This commit is contained in:
Marek Siarkowicz
2021-06-28 16:22:59 +02:00
parent 2a0f8f0738
commit 4c5efc970d
4 changed files with 96 additions and 26 deletions

29
.github/workflows/static-analysis.yaml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Static Analysis
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- linux-amd64-fmt
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.16"
- run: date
- env:
TARGET: ${{ matrix.target }}
run: |
echo "${TARGET}"
case "${TARGET}" in
linux-amd64-fmt)
GOARCH=amd64 PASSES='fmt bom dep' ./test.sh
;;
*)
echo "Failed to find target"
exit 1
;;
esac