Skip to content

Bump actions/checkout from 3 to 4 #136

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #136

Workflow file for this run

name: Build and Test
on:
push:
#paths-ignore:
#- ".github/workflows/**"
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
- name: Checkout
uses: actions/checkout@v4
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --logger trx --results-directory ./test-results/
- name: Upload test results
uses: actions/upload-artifact@v3
with:
name: Test Results
path: ./test-results/
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}