Update Packages #491
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: .NET | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
Build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
configuration: [ | |
GitHub | |
] | |
solution: [ | |
src, | |
sample/ReaLTaiizor.Defender, | |
sample/ReaLTaiizor.GenshinImpact, | |
sample/ReaLTaiizor.Instagram, | |
sample/ReaLTaiizor.Kaspersky, | |
sample/ReaLTaiizor.Login, | |
sample/ReaLTaiizor.Payment, | |
sample/ReaLTaiizor.Player, | |
sample/ReaLTaiizor.Rufus, | |
sample/ReaLTaiizor.Splash, | |
sample/ReaLTaiizor.Store, | |
sample/ReaLTaiizor.XAMPP, | |
ready/ReaLTaiizor.AppLocker, | |
ready/ReaLTaiizor.Hashing, | |
ready/ReaLTaiizor.MAChanger, | |
ready/ReaLTaiizor.Nerator, | |
ready/ReaLTaiizor.Portscan, | |
ready/ReaLTaiizor.Stopwatch, | |
ready/ReaLTaiizor.Translate, | |
demo/ReaLTaiizor.UI, | |
demo/ReaLTaiizor.UX | |
] | |
steps: | |
- uses: actions/checkout@v3 | |
# Ensure .editorconfig exists in the solution's directory | |
- name: Copy .editorconfig for current solution | |
shell: pwsh | |
run: | | |
$solutionPath = "${{ matrix.solution }}" | |
$solutionDir = Split-Path -Path $solutionPath | |
Copy-Item -Path ".editorconfig" -Destination "$solutionDir\.editorconfig" -Force | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 9.0.x | |
dotnet-quality: preview | |
- name: Restore the ReaLTaiizor | |
run: dotnet restore ${{ matrix.solution }} -p:Configuration=${{ matrix.configuration }} | |
- name: Build the ReaLTaiizor | |
run: dotnet build ${{ matrix.solution }} -c ${{ matrix.configuration }} --no-restore /nowarn:CS0067,CS0108,CS0109,CS0114,CS0169,CS0414,CS0649,CA1416,NU5104,NETSDK1138,SYSLIB0003 | |
- name: Test the ReaLTaiizor | |
run: dotnet test ${{ matrix.solution }} -c ${{ matrix.configuration }} --no-build --verbosity normal |