Skip to content

Commit

Permalink
Update: project file used variable in *.props.
Browse files Browse the repository at this point in the history
  • Loading branch information
suzu-devworks committed Sep 21, 2023
1 parent b05bf0d commit a8a0551
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 14 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ name: "CodeQL"

on:
push:
branches: [ "main" ]
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '26 20 * * 1'
# schedule:
# - cron: '26 20 * * 1'
workflow_dispatch:

jobs:
analyze:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: build

on:
# push:
# branches: [ "main" ]
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
Expand Down
7 changes: 7 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<MyTargetFramework>net6.0</MyTargetFramework>
<MyTargetFrameworks>net6.0</MyTargetFrameworks>
<MyTestingFrameworks>net6.0</MyTestingFrameworks>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>$(MyTestingFrameworks)</TargetFrameworks>
<LangVersion>10</LangVersion>
<RootNamespace>Examples</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>$(MyTestingFrameworks)</TargetFrameworks>
<LangVersion>4</LangVersion>
<RootNamespace>Examples</RootNamespace>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>$(MyTestingFrameworks)</TargetFrameworks>
<LangVersion>6</LangVersion>
<RootNamespace>Examples</RootNamespace>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>$(MyTestingFrameworks)</TargetFrameworks>
<LangVersion>7.0</LangVersion>
<RootNamespace>Examples</RootNamespace>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>$(MyTestingFrameworks)</TargetFrameworks>
<LangVersion>7.1</LangVersion>
<RootNamespace>Examples</RootNamespace>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>$(MyTestingFrameworks)</TargetFrameworks>
<LangVersion>7.2</LangVersion>
<RootNamespace>Examples</RootNamespace>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>$(MyTestingFrameworks)</TargetFrameworks>
<LangVersion>7.3</LangVersion>
<RootNamespace>Examples</RootNamespace>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>$(MyTestingFrameworks)</TargetFrameworks>
<LangVersion>8</LangVersion>
<RootNamespace>Examples</RootNamespace>
<Nullable>enable</Nullable>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>$(MyTestingFrameworks)</TargetFrameworks>
<LangVersion>9</LangVersion>
<RootNamespace>Examples</RootNamespace>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit a8a0551

Please sign in to comment.