Skip to content

Update release-and-publish.yml #3

Update release-and-publish.yml

Update release-and-publish.yml #3

name: Worflow CI

Check failure on line 1 in .github/workflows/release-and-publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-and-publish.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: setup
on:
pull_request:
branches: [ "master" ]
push:
branches: [ "master"]
jobs:
setup:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest]
net-version: ['8.x']
fail-fast: false
build:
needs: setup
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup .NET 8.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.net-version }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build
test:
needs: [build,setup]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Test
run: dotnet test --logger trx --results-directory "TestResults-${{ matrix.net-version }}"