fix: move buf to proto dir so submodules get the same deps
All checks were successful
Check / check (push) Successful in 1m35s
All checks were successful
Check / check (push) Successful in 1m35s
This commit is contained in:
parent
39959f041d
commit
32ac21afd2
@ -65,13 +65,20 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: release # Wait for binary cache to propagate
|
||||
steps:
|
||||
- name: Get domain
|
||||
id: get_domain
|
||||
run: |
|
||||
DOMAIN=$(basename ${{ gitea.server_url }})
|
||||
echo $DOMAIN
|
||||
echo "domain=$DOMAIN" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
# list of Docker images to use as base name for tags
|
||||
images: |
|
||||
${{ gitea.server_url }}/${{ gitea.repository }}
|
||||
${{ steps.get_domain.outputs.domain }}/${{ gitea.repository }}
|
||||
# generate Docker tags based on the following events/attributes
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
|
@ -42,7 +42,7 @@ It's that simple. If you're feeling fancy, install [direnv](https://direnv.net/)
|
||||
|
||||
- `nix flake check`: runs all validations
|
||||
|
||||
- `buf lint` & `buf generate`: lints and generates code from protocol buffers
|
||||
- `buf lint proto` & `buf generate`: lints and generates code from protocol buffers
|
||||
|
||||
- `sqlc vet` & `sqlc generate`: verifies and generates code from SQL files
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
version: v2
|
||||
clean: true
|
||||
inputs:
|
||||
- directory: proto
|
||||
|
||||
managed:
|
||||
enabled: true
|
||||
override:
|
||||
|
@ -3,8 +3,8 @@ servers:
|
||||
- url: /grpc
|
||||
info:
|
||||
title: Trevstack API
|
||||
version: 1.0.0
|
||||
description: API for trevstack
|
||||
version: 0.0.33
|
||||
description: API for Trevstack
|
||||
contact:
|
||||
name: Trev
|
||||
email: spam@trev.xyz
|
||||
|
@ -1,6 +1,6 @@
|
||||
# For details on buf.yaml configuration, visit https://buf.build/docs/configuration/v2/buf-yaml
|
||||
version: v2
|
||||
modules:
|
||||
- path: proto
|
||||
- path: .
|
||||
deps:
|
||||
- buf.build/bufbuild/protovalidate
|
Loading…
x
Reference in New Issue
Block a user