Skip to content

Cleanup unused dependencies #212

Cleanup unused dependencies

Cleanup unused dependencies #212

Workflow file for this run

name: Windows tests
on:
push:
paths-ignore:
- '*.md'
- '*.asciidoc'
- '.editorconfig'
- 'docs/**'
branches:
- main
tags:
- "*.*.*"
pull_request:
paths-ignore:
- '*.md'
- '*.asciidoc'
- '.editorconfig'
- 'docs/**'
permissions:
contents: read
checks: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
defaults:
run:
shell: cmd
jobs:
tests:
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- run: |
git fetch --prune --unshallow --tags
echo exit code $?
git tag --list
name: Fetch Tags
- uses: actions/cache@v4
name: NuGet package cache
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
global-json-file: ./global.json
- run: ./build.bat build -s true
name: Build
- run: ./build.bat test -s true
name: Test
- name: Test Results
if: success() || failure()
uses: mikepenz/action-junit-report@v4
with:
report_paths: 'build/output/junit-*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}
fail_on_failure: true
require_tests: true
check_name: Test Results