Skip to content

Commit

Permalink
Merge pull request #995 from lepoco/pomianowski-patch-1
Browse files Browse the repository at this point in the history
Update pipelines and bump version
  • Loading branch information
pomianowski authored Mar 13, 2024
2 parents af72469 + bf07aaa commit 699edcb
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 17 deletions.
41 changes: 26 additions & 15 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,40 @@
---
PR:
- "*"

dotnet:
- '**/*.cs'

github_actions:
- .github/workflows/*
- ".github/workflows/*"

documentation:
- docs/*
- "docs/*"

update:
- src/Directory.Build.props
- "src/Directory.Build.props"

controls:
- src/Wpf.Ui/Controls/*
dependencies:
- "src/Packages.props"
- "branding/package.json"
- "src/Packages.props"

NuGet:
- "src/Packages.props"

styles:
- src/Wpf.Ui/Styles/*
- "src/Wpf.Ui/**/*.xaml"

icons:
- src/Wpf.Ui/Fonts/FluentSystemIcons-Filled.ttf
- src/Wpf.Ui/Fonts/FluentSystemIcons-Regular.ttf
themes:
- "src/Wpf.Ui/Appearance/*"

dependencies:
- src/Packages.props
- branding/package.json
tray:
- "src/Wpf.Ui.Tray/*"

NuGet:
- src/Packages.props
controls:
- "src/Wpf.Ui/Controls/*"

icons:
- "src/Wpf.Ui/Resources/Fonts/*"

navigation:
- "src/Wpf.Ui/Controls/NavigationView/*"
5 changes: 4 additions & 1 deletion .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
- name: "icons"
color: "86CBEC"
description: "Fonts and icons updates"
Expand Down Expand Up @@ -47,6 +46,9 @@
- name: ".NET"
color: "7121c6"
description: "Pull requests that update .NET code."
- name: "dotnet"
color: "7121c6"
description: "Pull requests that update .NET code."
- name: "NuGet"
color: "004880"
description: "Update of the NuGet package."
Expand All @@ -71,3 +73,4 @@
- name: "wontfix"
color: "ffffff"
description: "This will not be worked on."

39 changes: 39 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
branches: [ development ]

jobs:
analyze:
name: Analyze
runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- uses: microsoft/setup-msbuild@v1.3
with:
msbuild-architecture: x64

- name: Setup .NET Core SDK 8.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x

- name: Install dependencies
run: dotnet restore

- name: Build
run: dotnet build src\Wpf.Ui.Gallery\Wpf.Ui.Gallery.csproj --configuration Release --no-restore

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: "csharp"

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Version>3.0.0</Version>
<Version>3.0.1</Version>
<LangVersion>12.0</LangVersion>
<Deterministic>true</Deterministic>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions src/Wpf.Ui/Controls/TitleBar/TitleBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// All Rights Reserved.

using System.Diagnostics;
using System.Windows.Input;
using Wpf.Ui.Designer;
using Wpf.Ui.Extensions;
using Wpf.Ui.Input;
Expand Down

0 comments on commit 699edcb

Please sign in to comment.