Skip to content

Bump actions/checkout from 3 to 4 #110

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #110

Workflow file for this run

name: Pull request
on:
workflow_dispatch:
pull_request:
env:
DOTNET_NOLOGO: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
jobs:
build_and_test:
name: Build and test
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Set line endings
run: git config --global core.eol crlf
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore dependencies
working-directory: src
run: dotnet restore
- name: Check formatting
working-directory: src
run: dotnet format --no-restore --verify-no-changes
- name: Build solution
working-directory: src
run: dotnet build --no-restore
- name: Run tests
working-directory: src
run: dotnet test --no-build --no-restore