Skip to content

Commit

Permalink
Merge pull request #3 from felipebaltazar/feature/net7
Browse files Browse the repository at this point in the history
Support for .net7
  • Loading branch information
felipebaltazar committed Sep 18, 2023
2 parents be37d06 + ce6ca21 commit cff3e6a
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 12 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: nuget
directory: "/"
schedule:
interval: daily
time: "09:00"
open-pull-requests-limit: 10
4 changes: 2 additions & 2 deletions .github/workflows/PackageCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build:

name: Build and publish package
runs-on: windows-2022
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x.x
dotnet-version: 7.x.x

- name: Nerdbank.GitVersioning
uses: dotnet/[email protected]
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/PrCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v1
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x.x
dotnet-version: 7.x.x

- uses: actions/setup-java@v2
with:
Expand Down Expand Up @@ -41,6 +45,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
Expand All @@ -50,7 +56,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x.x
dotnet-version: 7.x.x

- uses: actions/setup-java@v2
with:
Expand Down
8 changes: 4 additions & 4 deletions Maui.NeoControls.Demo/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<StackLayout Orientation="Vertical"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"
Padding="30">
Padding="20">

<Image VerticalOptions="Start"
HorizontalOptions="Start"
Expand Down Expand Up @@ -71,7 +71,7 @@
<StackLayout Orientation="Vertical"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"
Padding="30">
Padding="20">

<Image VerticalOptions="Start"
HorizontalOptions="Start"
Expand All @@ -98,7 +98,7 @@
<StackLayout Orientation="Vertical"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"
Padding="30">
Padding="20">

<Image VerticalOptions="Start"
HeightRequest="40"
Expand Down Expand Up @@ -126,7 +126,7 @@
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"
Spacing="0"
Padding="30">
Padding="20">

<Image
VerticalOptions="Center"
Expand Down
2 changes: 1 addition & 1 deletion Maui.NeoControls.Demo/Maui.NeoControls.Demo.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0-android;net6.0-ios</TargetFrameworks>
<TargetFrameworks>net7.0-android;net7.0-ios</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>Maui.NeoControls.Demo</RootNamespace>
<UseMaui>true</UseMaui>
Expand Down
5 changes: 3 additions & 2 deletions Maui.NeoControls/Maui.NeoControls.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0-android;net6.0-ios</TargetFrameworks>
<TargetFrameworks>net7.0-android;net7.0-ios</TargetFrameworks>
<SingleProject>true</SingleProject>
<Nullable>enable</Nullable>
<RootNamespace>Maui.Views.NeoControls</RootNamespace>
Expand All @@ -18,8 +18,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="SkiaSharp.Views.Maui.Controls.Compatibility" Version="2.88.0" />
<PackageReference Include="SkiaSharp.Views.Maui.Controls" Version="2.88.5" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
<PackageReference Update="Nerdbank.GitVersioning" Version="3.6.133" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit cff3e6a

Please sign in to comment.