File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33on :
44 pull_request :
5- branches : [ main ]
5+ branches : [main]
66 push :
7- branches : [ main ]
7+ branches : [main]
88
99env :
1010 DOTNET_CLI_TELEMETRY_OPTOUT : true
1313jobs :
1414 build :
1515 name : Build
16- runs-on : ubuntu-20 .04
16+ runs-on : ubuntu-24 .04
1717
1818 steps :
1919 - name : Checkout repository
2222 - name : Setup .NET
2323 uses : actions/setup-dotnet@v4.3.1
2424 with :
25- dotnet-version : ' 6.x'
25+ dotnet-version : " 6.x"
2626
2727 - name : Install Dependencies
2828 run : |
3636 run : dotnet format --verify-no-changes
3737
3838 - name : Test
39- run : dotnet test --configuration Release --no-build --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
39+ run : dotnet test --configuration Release --no-build --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
4040
4141 - name : Package
4242 run : dotnet pack --configuration Release --no-build
Original file line number Diff line number Diff line change @@ -2,17 +2,17 @@ name: "CodeQL"
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 pull_request :
77 # The branches below must be a subset of the branches above
8- branches : [ main ]
8+ branches : [main]
99 schedule :
10- - cron : ' 15 18 * * 5'
10+ - cron : " 15 18 * * 5"
1111
1212jobs :
1313 analyze :
1414 name : Analyze
15- runs-on : ubuntu-20 .04
15+ runs-on : ubuntu-24 .04
1616 permissions :
1717 actions : read
1818 contents : read
@@ -21,20 +21,20 @@ jobs:
2121 strategy :
2222 fail-fast : false
2323 matrix :
24- language : [ ' csharp' ]
24+ language : [" csharp" ]
2525
2626 steps :
27- - name : Checkout repository
28- uses : actions/checkout@v4
27+ - name : Checkout repository
28+ uses : actions/checkout@v4
2929
30- # Initializes the CodeQL tools for scanning.
31- - name : Initialize CodeQL
32- uses : github/codeql-action/init@v3
33- with :
34- languages : ${{ matrix.language }}
30+ # Initializes the CodeQL tools for scanning.
31+ - name : Initialize CodeQL
32+ uses : github/codeql-action/init@v3
33+ with :
34+ languages : ${{ matrix.language }}
3535
36- - name : Autobuild
37- uses : github/codeql-action/autobuild@v3
36+ - name : Autobuild
37+ uses : github/codeql-action/autobuild@v3
3838
39- - name : Perform CodeQL Analysis
40- uses : github/codeql-action/analyze@v3
39+ - name : Perform CodeQL Analysis
40+ uses : github/codeql-action/analyze@v3
Original file line number Diff line number Diff line change 1212 check-title :
1313 if : ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
1414 name : Check title
15- runs-on : ubuntu-20 .04
15+ runs-on : ubuntu-24 .04
1616
1717 steps :
1818 - uses : naveenk1223/action-pr-title@v1.0.0
Original file line number Diff line number Diff line change 77jobs :
88 deploy :
99 name : Deploy to package index
10- runs-on : ubuntu-20 .04
10+ runs-on : ubuntu-24 .04
1111 env :
1212 API_KEY : ${{ secrets.NUGET_API_KEY }}
1313 SOURCE_URL : ${{ secrets.NUGET_PUBLISH_URL }}
2121 - name : Setup .NET
2222 uses : actions/setup-dotnet@v4.3.1
2323 with :
24- dotnet-version : ' 6.x'
24+ dotnet-version : " 6.x"
2525
2626 - name : Package
2727 run : dotnet pack --configuration Release
You can’t perform that action at this time.
0 commit comments