Merge pull request #36 from BobLd/BobLd-patch-2 #15
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
name: Linux | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT : true | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install mscorefonts | |
run: sudo apt-get -y install ttf-mscorefonts-installer | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build net6.0 | |
run: dotnet build --configuration Release --no-restore --framework net6.0 | |
- name: Test net6.0 | |
run: dotnet test --no-restore --verbosity minimal --framework net6.0 |