Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Mar 7, 2024
1 parent faf922d commit d241a24
Show file tree
Hide file tree
Showing 50 changed files with 588 additions and 896 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Format
- name: Format
run: dotnet format --verify-no-changes
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- uses: bufbuild/buf-lint-action@v1
27 changes: 27 additions & 0 deletions .github/workflows/grpc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: grpc

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1

- name: Generate
run: buf generate SSTAlumniAssociation.Api

- name: Push TS code
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY_TYPESCRIPT }}
with:
source-directory: gen/swift
destination-github-username: 'sstalumniassociation'
destination-repository-name: 'grpc-client-swift'
user-email: [email protected]
target-branch: main
48 changes: 0 additions & 48 deletions Api/Api.csproj

This file was deleted.

302 changes: 0 additions & 302 deletions Api/Migrations/20240219075053_Initial.Designer.cs

This file was deleted.

Loading

0 comments on commit d241a24

Please sign in to comment.