mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-11-23 02:09:38 +00:00
upgrade solution to net9.0
this bumps docker image base to ubuntu 24.04
This commit is contained in:
parent
98228875c2
commit
d4e78d1b1b
6
.github/workflows/codeql-analysis.yml
vendored
6
.github/workflows/codeql-analysis.yml
vendored
@ -30,9 +30,11 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Update dotnet
|
||||
uses: actions/setup-dotnet@v1
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '8.0.x'
|
||||
dotnet-version: |
|
||||
8.0.x
|
||||
9.0.x
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
18
.github/workflows/dotnet.yml
vendored
18
.github/workflows/dotnet.yml
vendored
@ -13,9 +13,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: update dotnet core sdk
|
||||
uses: actions/setup-dotnet@v1
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
dotnet-version: |
|
||||
8.0.x
|
||||
9.0.x
|
||||
- name: dotnet restore (first try)
|
||||
run: dotnet restore --ignore-failed-sources
|
||||
- name: dotnet restore (second try)
|
||||
@ -33,9 +35,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: update dotnet core sdk
|
||||
uses: actions/setup-dotnet@v1
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
dotnet-version: |
|
||||
8.0.x
|
||||
9.0.x
|
||||
- name: dotnet restore (first try)
|
||||
run: dotnet restore --ignore-failed-sources
|
||||
- name: dotnet restore (second try)
|
||||
@ -68,9 +72,11 @@ jobs:
|
||||
- name: "clean build artifacts"
|
||||
run: git clean -dfx
|
||||
- name: update dotnet core sdk
|
||||
uses: actions/setup-dotnet@v1
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
dotnet-version: |
|
||||
8.0.x
|
||||
9.0.x
|
||||
- name: dotnet restore (first try)
|
||||
run: dotnet restore --ignore-failed-sources
|
||||
- name: dotnet restore (second try)
|
||||
|
@ -16,8 +16,3 @@ Recommended development setup
|
||||
See [readme](README.md) for detailed requirement and recommended IDE setup.
|
||||
|
||||
**Note** that Docker image is currently experimental and wasn't tested in any way.
|
||||
|
||||
IntelliCode Model Link
|
||||
======================
|
||||
You can use [this link](https://prod.intellicode.vsengsaas.visualstudio.com/get?m=7127523297134326920E959DF01AF224) for the pre-trained IntelliCode model based on this project.
|
||||
In Visual Code 2019.1 or later, you can do this by navigatin `View` → `Other Windows` → `IntelliCode Model Management` → `Add Model`.
|
@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<EmitCompilerGeneratedFiles>false</EmitCompilerGeneratedFiles>
|
||||
</PropertyGroup>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<TieredCompilation>true</TieredCompilation>
|
||||
<RootNamespace>CompatBot</RootNamespace>
|
||||
<UserSecretsId>c2e6548b-b215-4a18-a010-958ef294b310</UserSecretsId>
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS base
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0-noble AS base
|
||||
|
||||
# Native libgdiplus dependencies
|
||||
RUN apt-get update
|
||||
|
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<EmitCompilerGeneratedFiles>false</EmitCompilerGeneratedFiles>
|
||||
|
@ -9,15 +9,15 @@ You can read the design and implementation notes by visiting the folders in the
|
||||
|
||||
Development Requirements
|
||||
------------------------
|
||||
* [.NET 8.0 SDK](https://dotnet.microsoft.com/download) or newer
|
||||
* [.NET 9.0 SDK](https://dotnet.microsoft.com/download) or newer
|
||||
* Any text editor, but here are some recommends:
|
||||
* [Visual Studio](https://visualstudio.microsoft.com/) (Windows and Mac only, has free Community edition)
|
||||
* [Visual Studio](https://visualstudio.microsoft.com/) (Windows, has free Community edition)
|
||||
* [Visual Studio Code](https://code.visualstudio.com/) (cross-platform, free)
|
||||
* [JetBrains Rider](https://www.jetbrains.com/rider/) (cross-platform)
|
||||
* [JetBrains Rider](https://www.jetbrains.com/rider/) (cross-platform, free for Non-Commercial use)
|
||||
|
||||
Runtime Requirements
|
||||
--------------------
|
||||
* [.NET 8.0 SDK](https://dotnet.microsoft.com/download) or newer to run from sources
|
||||
* [.NET 9.0 SDK](https://dotnet.microsoft.com/download) or newer to run from sources
|
||||
* bot needs `dotnet` command to be available (i.e. alias for the Snap package)
|
||||
* Optionally Google API credentials to access Google Drive:
|
||||
* Create new project in the [Google Cloud Resource Manager](https://console.developers.google.com/cloud-resource-manager)
|
||||
|
@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user