Skip to content

Bump actions/setup-dotnet from 4 to 5 #11

Bump actions/setup-dotnet from 4 to 5

Bump actions/setup-dotnet from 4 to 5 #11

Workflow file for this run

name: CI
on: [push, pull_request]
env:
DOTNET_VERSION: "8.0.x"
SOLUTION_DIR: "Source/LocalNetAppChat"
jobs:
build-and-test:
name: Build & Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Restore
run: dotnet restore
working-directory: ${{ env.SOLUTION_DIR }}
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: ${{ env.SOLUTION_DIR }}
- name: Test
run: dotnet test --no-build --configuration Release --verbosity normal
working-directory: ${{ env.SOLUTION_DIR }}
- name: Coveralls
if: matrix.os == 'ubuntu-latest'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ${{ env.SOLUTION_DIR }}/LocalNetAppChat.Server.Domain.Tests/coverage.info