Move api-spec to root folder (#242)

* api-spec: move the api-spec to root and init go.mod

* go mod tidy

* move buf files in the root as well

* gh action for api-spec changes only

* gh action for api-spec on push and pr
This commit is contained in:
Marco Argentieri
2024-08-13 00:54:06 +02:00
committed by GitHub
parent 67baf9e7fc
commit f0a90c06ee
44 changed files with 94 additions and 26 deletions

27
.github/workflows/ark.proto.yaml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: API Spec Changes
on:
push:
branches:
- master
paths:
- "api-spec/**"
pull_request:
branches:
- master
paths:
- "api-spec/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: bufbuild/buf-setup-action@v1.3.1
- name: check proto linting
run: buf lint

View File

@@ -34,9 +34,6 @@ jobs:
uses: securego/gosec@master
with:
args: '-severity high -quiet ./...'
- uses: bufbuild/buf-setup-action@v1.3.1
- name: check proto linting
run: buf lint
- run: go get -v -t -d ./...
- name: unit testing
run: make test