Skip to content

build(deps): bump github/codeql-action from 2.21.9 to 2.22.0 #791

build(deps): bump github/codeql-action from 2.21.9 to 2.22.0

build(deps): bump github/codeql-action from 2.21.9 to 2.22.0 #791

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@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
with:
egress-policy: audit
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Setup .NET
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.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