Skip to content

Update workflow

Update workflow #4

Workflow file for this run

name: CPlugin.Net
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macOS-latest]
dotnet-version: '8.0.x'

Check failure on line 16 in .github/workflows/dotnetcore.yml

View workflow run for this annotation

GitHub Actions / CPlugin.Net

Invalid workflow file

The workflow is not valid. .github/workflows/dotnetcore.yml (Line: 16, Col: 25): Unexpected value '8.0.x'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: |
dotnet test --no-restore ./tests/CPlugin.Net/CPlugin.Net.Tests.csproj