Monorepo scaffolding (#16)

* Change scaffolding

* Fix gh action
This commit is contained in:
Pietralberto Mazza
2023-11-27 14:23:22 +01:00
committed by GitHub
parent 28db168af0
commit 0210d39866
90 changed files with 1938 additions and 76 deletions

41
.github/workflows/ark.unit.yaml vendored Executable file
View File

@@ -0,0 +1,41 @@
name: ci_unit
on:
push:
paths:
- "asp/**"
branches: [master]
pull_request:
branches:
- master
paths:
- "asp/**"
jobs:
test:
name: unit tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./asp
steps:
- uses: actions/setup-go@v3
with:
go-version: ">1.17.2"
- uses: actions/checkout@v3
- name: check linting
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
working-directory: ./asp
- name: check code integrity
uses: securego/gosec@master
with:
args: '-severity high -quiet ./...'
- uses: bufbuild/buf-setup-action@v1.3.1
- name: check proto linting
run: make proto-lint
- run: go get -v -t -d ./...
- name: unit testing
run: make test