fix: Adds migration checks to CICD, updates dependencies, adds Fedora 37, alpine 3.17 support (#1309)
- [X] Automatically collapses migration files in github PRs. - [X] CI/CD now checks to see if migrations are missing or modified. - [X] Updates dependencies - [X] Adds Fedora 37, Alpine 3.17 support
This commit is contained in:
parent
75d8a5147c
commit
94199f1186
8 changed files with 31 additions and 21 deletions
3
.gitattributes
vendored
3
.gitattributes
vendored
|
|
@ -31,3 +31,6 @@ publish.cmd text eol=lf
|
|||
/.github export-ignore
|
||||
.gitignore export-ignore
|
||||
.gitattributes export-ignore
|
||||
|
||||
# Collapse in Github
|
||||
**/Migrations/*.v*.json linguist-generated=true
|
||||
|
|
|
|||
9
.github/workflows/build-test.yml
vendored
9
.github/workflows/build-test.yml
vendored
|
|
@ -24,9 +24,11 @@ jobs:
|
|||
- name: Setup .NET 7
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: 7.0.100
|
||||
dotnet-version: 7.0.101
|
||||
- name: Build
|
||||
run: ./publish.cmd Release
|
||||
- name: Migration Changes
|
||||
run: git diff --exit-code ./**/Migrations/*.v*.json
|
||||
- name: Test
|
||||
run: dotnet test --no-restore
|
||||
|
||||
|
|
@ -44,6 +46,9 @@ jobs:
|
|||
- container: debian:bullseye
|
||||
name: Debian 11
|
||||
packageManager: apt
|
||||
- container: fedora:37
|
||||
name: Fedora 37
|
||||
packageManager: dnf
|
||||
- container: fedora:36
|
||||
name: Fedora 36
|
||||
packageManager: dnf
|
||||
|
|
@ -70,7 +75,7 @@ jobs:
|
|||
- name: Setup .NET 7
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: 7.0.100
|
||||
dotnet-version: 7.0.101
|
||||
- name: Build
|
||||
run: ./publish.sh Release
|
||||
- name: Test
|
||||
|
|
|
|||
4
.github/workflows/create-release.yml
vendored
4
.github/workflows/create-release.yml
vendored
|
|
@ -16,8 +16,8 @@ jobs:
|
|||
token: ${{ secrets.WORKFLOW_TOKEN }}
|
||||
- name: Setup .NET 7
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: 7.0.100
|
||||
with
|
||||
dotnet-version: 7.0.101
|
||||
- name: Install NGBV
|
||||
uses: dotnet/nbgv@master
|
||||
id: nbgv
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
|
||||
<PackageReference Include="Moq" Version="4.18.2" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
|
||||
<PackageReference Include="Moq" Version="4.18.3" />
|
||||
<PackageReference Include="xunit" Version="2.4.2" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
|
||||
<ProjectReference Include="..\Server\Server.csproj" />
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
|
||||
<PackageReference Include="Moq" Version="4.18.2" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
|
||||
<PackageReference Include="Moq" Version="4.18.3" />
|
||||
<PackageReference Include="xunit" Version="2.4.2" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
|
||||
<ProjectReference Include="..\Server\Server.csproj" />
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
<ProjectReference Include="..\Server\Server.csproj" Private="false" PrivateAssets="All" IncludeAssets="None">
|
||||
<IncludeInPackage>false</IncludeInPackage>
|
||||
</ProjectReference>
|
||||
<PackageReference Include="MailKit" Version="3.4.2" />
|
||||
<PackageReference Include="MailKit" Version="3.4.3" />
|
||||
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="7.0.0" />
|
||||
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
|
||||
<PackageReference Include="Zlib.Bindings" Version="1.10.1" />
|
||||
|
|
|
|||
22
README.md
22
README.md
|
|
@ -16,30 +16,30 @@ ModernUO [](https://www.microsoft.com/en-US/evalcenter/evaluate-windows-server-2022)
|
||||

|
||||
[](https://www.debian.org/distrib/)
|
||||
[](https://ubuntu.com/download/server)
|
||||

|
||||
[](https://www.debian.org/distrib/)
|
||||
[](https://ubuntu.com/download/server)
|
||||
<br />
|
||||
[](https://alpinelinux.org/downloads/)
|
||||
[](https://getfedora.org/en/server/download/)
|
||||
[](https://alpinelinux.org/downloads/)
|
||||
[](https://getfedora.org/en/server/download/)
|
||||
[](https://access.redhat.com/downloads)
|
||||
[](https://www.centos.org/download/)
|
||||
[](https://get.opensuse.org/)
|
||||
[](https://www.suse.com/download/sles/)
|
||||
[](https://linuxmint.com/download.php)
|
||||
[](https://linuxmint.com/download.php)
|
||||
[](https://archlinux.org/download/)
|
||||
|
||||
#### Running the server
|
||||
[](https://dotnet.microsoft.com/download/dotnet/7.0)
|
||||
[](https://dotnet.microsoft.com/download/dotnet/7.0)
|
||||
|
||||
#### Development
|
||||
[](https://git-scm.com/downloads)
|
||||
[](https://dotnet.microsoft.com/download/dotnet/7.0)
|
||||
[](https://dotnet.microsoft.com/download/dotnet/7.0)
|
||||
|
||||
#### Supported IDEs
|
||||
|
||||
<p align="left"><a href="https://www.jetbrains.com/rider/download"><img height="64" title="Jetbrains Rider 2022.2.3+"
|
||||
alt="Jetbrains Rider 2022.2.3+"
|
||||
<p align="left"><a href="https://www.jetbrains.com/rider/download"><img height="64" title="Jetbrains Rider 2022.3.1+"
|
||||
alt="Jetbrains Rider 2022.3.1+"
|
||||
src="https://user-images.githubusercontent.com/3953314/133473479-734e425c-fbb6-433a-af2d-2cc8444398e8.png"></a><img
|
||||
alt="space" width="32" src="https://user-images.githubusercontent.com/3953314/200151935-3c1521ec-16cb-487b-85a2-7454d347c585.png"><a href="https://code.visualstudio.com/download"><img height="64" title="VSCode"
|
||||
alt="VSCode"
|
||||
|
|
@ -101,6 +101,6 @@ Thank you for supporting us! You can find out how by visiting the [sponsors](./S
|
|||
- [Karasho](https://github.com/andreakarasho), [Jaedan](https://github.com/jaedan) and the ClassicUO Community
|
||||
|
||||
</br></br>
|
||||
<p align=center>Development Tools & Plugins provided with ♥ by </br><a href="https://www.jetbrains.com/?from=ModernUO"><img align=middle src="https://user-images.githubusercontent.com/3953314/86882249-cfb2ea00-c0a4-11ea-9cec-bf3f3bcc6f28.png" height="64px" alt="JetBrains" title="JetBrains" /></a>
|
||||
<p align=center>Development Tools & Plugins provided with ♥ by <br /><a href="https://www.jetbrains.com/?from=ModernUO"><img align=middle src="https://user-images.githubusercontent.com/3953314/86882249-cfb2ea00-c0a4-11ea-9cec-bf3f3bcc6f28.png" height="64px" alt="JetBrains" title="JetBrains" /></a>
|
||||
<a href="https://material-theme.com/"><img align=center src="https://material-theme.com/img/logo/material-oceanic.svg" width="64px" alt="Material Theme" title="Material Theme"></a>
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -18,9 +18,11 @@ jobs:
|
|||
displayName: 'Install .NET 7'
|
||||
inputs:
|
||||
packageType: sdk
|
||||
version: 7.0.100
|
||||
version: 7.0.101
|
||||
- task: NuGetAuthenticate@1
|
||||
- script: ./publish.cmd Release
|
||||
displayName: 'Build'
|
||||
- script: git diff --exit-code ./**/Migrations/*.v*.json
|
||||
displayName: Migration Changes
|
||||
- script: dotnet test --no-restore
|
||||
displayName: 'Test'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue