Skip to content

Workflow file for this run

name: Build and Test
on:
pull_request:
branches:
- main
jobs:
call-reusable-build-test:
uses: ./.github/workflows/reusable_build_test.yml@${{ github.ref }}

Check failure on line 10 in .github/workflows/build-and-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-and-test.yml

Invalid workflow file

invalid value workflow reference: cannot specify version when calling local workflows
build-test:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
6.0.407
8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal