chore: update osu packages to #209
Workflow file for this run
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
# | |
# This workflow triggers at every commit push that changes code. | |
# This is useful for keeping Dependabot from pushing broken dependencies. | |
# | |
name: dotnet-debug | |
on: | |
push: | |
paths: | |
- '**/*.cs' | |
- '**/*.csproj' | |
jobs: | |
dotnet-test: | |
name: Check if the project can still build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Build the debug DLL | |
id: build | |
run: dotnet build | |
# continue-on-error: true | |
- name: Open an issue if bump fails | |
id: issue | |
if: steps.build.outcome == 'failure' && github.actor == 'dependabot' | |
uses: rishabhgupta/git-action-issue@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
title: Incompatibility with latest version of osu! | |
body: | | |
Dependabot tried to build this project against the latest version of osu!, but failed with the following result: | |
``` | |
${{join(steps.build.outputs.*, '\n')}} | |
``` | |
run: | | |
echo "Opened ${{ steps.issue.outputs.issue }}" | |
exit 1 | |
- name: Give unit tests a spin | |
run: dotnet test --no-build | |
- name: Upload artifact for further testing | |
uses: actions/upload-artifact@v3 | |
with: | |
name: release | |
path: osu.Game.Rulesets.Diva/bin | |