Skip to content

chore: update build tasks and changelog #2146

chore: update build tasks and changelog

chore: update build tasks and changelog #2146

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup .NET
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0
with:
dotnet-version: 6.0.x
- name: Build rpc as library
run: go build -buildmode=c-shared -o rpc.so ./cmd
- name: Restore dependencies
run: cd samples/dotnet && dotnet restore
- name: Build
run: cd samples/dotnet && dotnet build --no-restore