Amendments made (suggested refactoring). Change in the base class of … #288
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: Main | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: '0 0 * * 6' | |
workflow_dispatch: | |
jobs: | |
main: | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- name: 'macos' | |
image: 'macos-12' | |
- name: 'linux' | |
image: 'ubuntu-22.04' | |
- name: 'windows' | |
image: 'windows-2022' | |
name: main.${{ matrix.config.name }} | |
runs-on: ${{ matrix.config.image }} | |
env: | |
DOTNET_NOLOGO: 1 | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: NuGet cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ env.NUGET_PACKAGES }} | |
key: ${{ runner.os }}.nuget.${{ hashFiles('**/*.fsproj') }} | |
- name: Set up .NET SDK | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Build | |
run: dotnet build | |
- name: Test | |
run: dotnet test | |
- name: Verify translations | |
shell: pwsh | |
run: ./Scripts/Verify-Translations.ps1 |