Skip to content

build(ci): cleaned up some things #90

build(ci): cleaned up some things

build(ci): cleaned up some things #90

Workflow file for this run

name: build
on:
push:
branches:
- '**'
tags:
- '!**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: .NET Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0
with:
versionSpec: '5.x'
- name: Determine Version
uses: gittools/actions/gitversion/execute@v0
- name: Restoring
run: dotnet restore -v normal
- name: Building
run: dotnet build -c Release --no-restore -v normal
- name: Testing (.NET 5)
run: dotnet test -c Release --no-restore --no-build -v normal -f net5.0
- name: Testing (.NET Core 2)
run: dotnet test -c Release --no-restore --no-build -v normal -f netcoreapp2.0