mirror of
https://github.com/aljazceru/ark.git
synced 2026-01-16 10:14:22 +01:00
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:
27
.github/workflows/ark.proto.yaml
vendored
Normal file
27
.github/workflows/ark.proto.yaml
vendored
Normal 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
|
||||
3
.github/workflows/ark.unit.yaml
vendored
3
.github/workflows/ark.unit.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user