Update xunit-dotnet monorepo #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
- pull_request | |
name: Main | |
jobs: | |
pre-commit: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.7' | |
- run: | | |
pip install pre-commit | |
dotnet tool install -g dotnet-format | |
pre-commit run --all-files --show-diff-on-failure | |
test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
dotnet test tests | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: robinraju/[email protected] | |
id: download_playnite | |
with: | |
repository: "JosefNemec/Playnite" | |
latest: true | |
tarBall: false | |
zipBall: false | |
fileName: "Playnite*.zip" | |
out-file-path: playnite | |
extract: true | |
- run: | | |
dotnet build src -c Release |