Skip to content

Merge pull request #163 from Sonix/bugfix/163-fix-string-marshalling-… #80

Merge pull request #163 from Sonix/bugfix/163-fix-string-marshalling-…

Merge pull request #163 from Sonix/bugfix/163-fix-string-marshalling-… #80

name: .NET Core Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Lightning.NET
uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Install dependencies
working-directory: ${{ runner.workspace }}/Lightning.NET
run: dotnet restore
- name: Build
working-directory: ${{ runner.workspace }}/Lightning.NET
run: dotnet build --no-restore
- name: Test
working-directory: ${{ runner.workspace }}/Lightning.NET
run: dotnet test --no-build --no-restore --verbosity normal