Skip to content

fix(cli): Resolve FQDN on Linux machines with short hostnames #1871

fix(cli): Resolve FQDN on Linux machines with short hostnames

fix(cli): Resolve FQDN on Linux machines with short hostnames #1871

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@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup .NET
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1
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