Skip to content

Commit d52cfbd

Browse files
committed
chore(dependencies): update package update schedule and project configurations
Adjusts the Dependabot update schedule from daily to weekly for better resource management. Updates project files to support .NET 10.0 and refines YAML formatting for consistency. - Change Dependabot schedule from daily to weekly for all package ecosystems. - Update target frameworks in SQLParser.Tests and SQLParser projects to include net10.0. - Refine YAML formatting in workflows for consistency.
1 parent e5edcaa commit d52cfbd

File tree

5 files changed

+70
-65
lines changed

5 files changed

+70
-65
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ updates:
1919
- package-ecosystem: "nuget" # See documentation for possible values
2020
directory: "/SQLParser.Tests/" # Location of package manifests
2121
schedule:
22-
interval: "daily"
22+
interval: "weekly"
2323
commit-message:
2424
prefix: "chore"
2525
groups:
@@ -30,7 +30,7 @@ updates:
3030
- package-ecosystem: "nuget" # See documentation for possible values
3131
directory: "/SQLParser.Example/" # Location of package manifests
3232
schedule:
33-
interval: "daily"
33+
interval: "weekly"
3434
commit-message:
3535
prefix: "chore"
3636
groups:
@@ -41,7 +41,7 @@ updates:
4141
- package-ecosystem: "github-actions"
4242
directory: "/"
4343
schedule:
44-
interval: "daily"
44+
interval: "weekly"
4545
commit-message:
4646
prefix: "chore"
4747
groups:

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@
1212
name: "CodeQL"
1313

1414
on:
15-
push:
16-
branches: [ "master" ]
1715
pull_request:
18-
branches: [ "master" ]
16+
branches: ["master"]
1917
schedule:
20-
- cron: '37 18 * * 3'
18+
- cron: "37 18 * * 3"
2119

2220
permissions:
2321
actions: read

.github/workflows/dotnet-publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ name: .NET Publish
55

66
on:
77
push:
8-
branches: [ "master" ]
8+
branches: ["master"]
99

1010
jobs:
1111
build:
12-
uses: 'JaCraig/Centralized-Workflows/.github/workflows/dotnet-publish.yml@main'
12+
uses: "JaCraig/Centralized-Workflows/.github/workflows/dotnet-publish.yml@main"
1313
with:
14-
user: 'JaCraig'
15-
user-email: 'JaCraig@users.noreply.github.com'
16-
coveralls-upload: "./SQLParser.Tests/TestResults-9.0.x/coverage.net8.0.info"
14+
user: "JaCraig"
15+
user-email: "JaCraig@users.noreply.github.com"
16+
coveralls-upload: "./SQLParser.Tests/TestResults-10.0.x/coverage.net10.0.info"
1717
test-filter: "SQLParser.Tests"
1818
secrets:
1919
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
20-
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
20+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

SQLParser.Tests/SQLParser.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net10.0</TargetFrameworks>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
@@ -27,4 +27,4 @@
2727
<ProjectReference Include="..\SQLParser\SQLParser.csproj" />
2828
</ItemGroup>
2929

30-
</Project>
30+
</Project>

SQLParser/SQLParser.csproj

Lines changed: 57 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,66 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<Description>This C# library provides a SQL parser and lexer implementation using ANTLR. It allows you to parse SQL queries into an abstract syntax tree (AST) and perform various operations on the parsed queries.</Description>
5-
<AssemblyTitle>SQLParser</AssemblyTitle>
6-
<Authors>James Craig</Authors>
7-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
8-
<GenerateDocumentationFile>true</GenerateDocumentationFile>
9-
<AssemblyName>SQLParser</AssemblyName>
10-
<PackageId>SQLParser</PackageId>
11-
<PackageTags>SQL;Databases;T-SQL</PackageTags>
12-
<PackageProjectUrl>https://github.com/JaCraig/SQLParser</PackageProjectUrl>
13-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
14-
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
15-
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
16-
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
17-
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
18-
<Version>4.0.2</Version>
19-
<Title>SQLParser</Title>
20-
<Copyright>Copyright © James Craig 2017</Copyright>
21-
<PackageIcon>Icon.png</PackageIcon>
22-
<PackageReadmeFile>README.md</PackageReadmeFile>
23-
<RepositoryUrl>https://github.com/JaCraig/SQLParser</RepositoryUrl>
24-
<RepositoryType>git</RepositoryType>
25-
<PackageReleaseNotes>https://github.com/JaCraig/SQLParser/blob/master/CHANGELOG.md</PackageReleaseNotes>
26-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
27-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
28-
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
29-
<IncludeSymbols>true</IncludeSymbols>
30-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
31-
<EnableNETAnalyzers>true</EnableNETAnalyzers>
32-
</PropertyGroup>
3+
<PropertyGroup>
4+
<Description>This C# library provides a SQL parser and lexer implementation using ANTLR. It
5+
allows you to parse SQL queries into an abstract syntax tree (AST) and perform various
6+
operations on the parsed queries.</Description>
7+
<AssemblyTitle>SQLParser</AssemblyTitle>
8+
<Authors>James Craig</Authors>
9+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
10+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
11+
<AssemblyName>SQLParser</AssemblyName>
12+
<PackageId>SQLParser</PackageId>
13+
<PackageTags>SQL;Databases;T-SQL</PackageTags>
14+
<PackageProjectUrl>https://github.com/JaCraig/SQLParser</PackageProjectUrl>
15+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
16+
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
17+
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
18+
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
19+
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
20+
<Version>4.0.2</Version>
21+
<Title>SQLParser</Title>
22+
<Copyright>Copyright © James Craig 2017</Copyright>
23+
<PackageIcon>Icon.png</PackageIcon>
24+
<PackageReadmeFile>README.md</PackageReadmeFile>
25+
<RepositoryUrl>https://github.com/JaCraig/SQLParser</RepositoryUrl>
26+
<RepositoryType>git</RepositoryType>
27+
<PackageReleaseNotes>https://github.com/JaCraig/SQLParser/blob/master/CHANGELOG.md</PackageReleaseNotes>
28+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
29+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
30+
<AllowedOutputExtensionsInPackageBuildOutputFolder>
31+
$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
32+
<IncludeSymbols>true</IncludeSymbols>
33+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
34+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
35+
</PropertyGroup>
3336
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
3437
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
3538
</PropertyGroup>
3639
<ItemGroup>
37-
<None Include="..\Icon.png">
38-
<Pack>True</Pack>
39-
<PackagePath>\</PackagePath>
40-
</None>
41-
<None Include="..\README.md">
42-
<Pack>True</Pack>
43-
<PackagePath>\</PackagePath>
44-
</None>
40+
<None Include="..\Icon.png">
41+
<Pack>True</Pack>
42+
<PackagePath>\</PackagePath>
43+
</None>
44+
<None Include="..\README.md">
45+
<Pack>True</Pack>
46+
<PackagePath>\</PackagePath>
47+
</None>
4548
</ItemGroup>
4649

47-
<ItemGroup>
48-
<PackageReference Include="Antlr4.Runtime.Standard" Version="4.13.1" />
49-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.102" PrivateAssets="All" />
50-
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.102">
51-
<PrivateAssets>all</PrivateAssets>
52-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
53-
</PackageReference>
54-
</ItemGroup>
55-
<Target Name="Husky" BeforeTargets="Restore;CollectPackageReferences" Condition="'$(HUSKY)' != 0">
56-
<Exec Command="dotnet tool restore" StandardOutputImportance="Low" StandardErrorImportance="High" />
57-
<Exec Command="dotnet husky install" StandardOutputImportance="Low" StandardErrorImportance="High" WorkingDirectory=".." />
50+
<ItemGroup>
51+
<PackageReference Include="Antlr4.Runtime.Standard" Version="4.13.1" />
52+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.102"
53+
PrivateAssets="All" />
54+
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.102">
55+
<PrivateAssets>all</PrivateAssets>
56+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
57+
</PackageReference>
58+
</ItemGroup>
59+
<Target Name="Husky" BeforeTargets="Restore;CollectPackageReferences"
60+
Condition="'$(HUSKY)' != 0">
61+
<Exec Command="dotnet tool restore" StandardOutputImportance="Low"
62+
StandardErrorImportance="High" />
63+
<Exec Command="dotnet husky install" StandardOutputImportance="Low"
64+
StandardErrorImportance="High" WorkingDirectory=".." />
5865
</Target>
59-
</Project>
66+
</Project>

0 commit comments

Comments
 (0)