Skip to content

build(deps): bump actions/dependency-review-action from 4.4.0 to 4.5.0 #2182

build(deps): bump actions/dependency-review-action from 4.4.0 to 4.5.0

build(deps): bump actions/dependency-review-action from 4.4.0 to 4.5.0 #2182

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@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
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