Merge pull request #41 from h1dden-da3m0n/fix/bump-ci

This commit is contained in:
Cody Robibero 2022-05-15 20:27:51 -04:00 committed by GitHub
commit 2cb51b8a12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 25 additions and 46 deletions

View File

@ -1,29 +0,0 @@
version: 2
updates:
# Fetch and update latest `nuget` pkgs
- package-ecosystem: nuget
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 10
labels:
- chore
- dependency
- nuget
commit-message:
prefix: chore
include: scope
# Fetch and update latest `github-actions` pkgs
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
open-pull-requests-limit: 10
labels:
- ci
- dependency
- github-actions
commit-message:
prefix: ci
include: scope

6
.github/renovate.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>jellyfin/.github//renovate-presets/default"
]
}

View File

@ -1,14 +0,0 @@
name: "🆙 Bump Version"
on:
release:
types:
- published
workflow_dispatch:
jobs:
call:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/bump-version.yaml@master
with:
csproj-name: Jellyfin.Plugin.NextPVR
is-unstable: ${{ github.event.release.prerelease }}

View File

@ -2,7 +2,15 @@ name: '🔬 Run CodeQL'
on:
push:
branches: [ master ]
paths-ignore:
- '**/*.md'
pull_request:
branches: [ master ]
paths-ignore:
- '**/*.md'
schedule:
- cron: '24 2 * * 4'
workflow_dispatch:
jobs:

7
Directory.Build.props Normal file
View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<Version>0.0.0.0</Version>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<FileVersion>0.0.0.0</FileVersion>
</PropertyGroup>
</Project>

View File

@ -2,13 +2,11 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<FileVersion>5.0.0.0</FileVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
<NoWarn>CA2227;CA1002;CA2007;CS1591</NoWarn>
<NoWarn>CA2227;CA1002;CA2007;CS1591</NoWarn>
</PropertyGroup>
<ItemGroup>
@ -23,6 +21,9 @@
<PackageReference Include="Jellyfin.Extensions" Version="10.*-*" />
<PackageReference Include="System.Memory" Version="4.5.*" />
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.376" PrivateAssets="All" />
<PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />