Skip to content

Upgraded to .NET 8.0 and MonoGame 3.8.1 #80

Upgraded to .NET 8.0 and MonoGame 3.8.1

Upgraded to .NET 8.0 and MonoGame 3.8.1 #80

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Setup MGCB
run: |
dotnet tool install --global dotnet-mgcb
ln -s ~/.dotnet/tools/mgcb ~/.dotnet/tools/dotnet-mgcb
- name: Setup fonts
run: |
echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | sudo debconf-set-selections
sudo apt install ttf-mscorefonts-installer
sudo fc-cache -f
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal