Check #178
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: Check | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
schedule: | |
- cron: '0 3 * * *' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [windows-latest, macos-latest, ubuntu-latest] | |
dotnet: [8.0.100] | |
runs-on: ${{ matrix.os }} | |
name: "Build on ${{ matrix.os }}" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.dotnet }} | |
- name: Run build | |
run: ./build.sh | |
tests: | |
runs-on: macos-latest | |
name: "Check application" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.100 | |
- name: Run tests | |
run: ./build.sh -t tests |