Skip to content

Commit ae5d758

Browse files
dependabot[bot]tylerkronclaude
authored
deps: Bump EFCore.BulkExtensions from 8.1.1 to 8.1.3 (#195)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tyler Kron <[email protected]> Co-authored-by: Claude <[email protected]>
1 parent 6e6cfec commit ae5d758

File tree

5 files changed

+197
-202
lines changed

5 files changed

+197
-202
lines changed

.github/workflows/build.yaml

Lines changed: 94 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,95 @@
1-
name: Build
2-
3-
on:
4-
pull_request:
5-
6-
jobs:
7-
build-and-test:
8-
runs-on: windows-latest
9-
10-
steps:
11-
- uses: actions/checkout@v5
12-
13-
- name: Setup .NET
14-
uses: actions/setup-dotnet@v4
15-
with:
16-
dotnet-version: 8.0.x
17-
18-
- name: Restore dependencies
19-
run: dotnet restore
20-
21-
- name: Build with Analysis
22-
run: dotnet build --no-restore --configuration Release /p:EnforceCodeStyleInBuild=true
23-
24-
- name: Test with Coverage
25-
run: dotnet test --no-build --verbosity normal --configuration Release --collect:"XPlat Code Coverage" --results-directory ./TestResults/ /p:CoverletOutputFormat=cobertura
26-
27-
- name: Install ReportGenerator
28-
run: dotnet tool install -g dotnet-reportgenerator-globaltool
29-
30-
- name: Generate Coverage Report
31-
run: reportgenerator -reports:"./TestResults/**/coverage.cobertura.xml" -targetdir:"./CoverageReport" -reporttypes:"HtmlInline_AzurePipelines;TextSummary;MarkdownSummaryGithub" -verbosity:Warning
32-
33-
- name: Upload Coverage Report
34-
uses: actions/upload-artifact@v4
35-
with:
36-
name: coverage-report
37-
path: ./CoverageReport/
38-
if-no-files-found: warn
39-
40-
- name: Add Coverage to Step Summary
41-
if: github.event_name == 'pull_request'
42-
run: |
43-
if (Test-Path "./CoverageReport/SummaryGithub.md") {
44-
$summary = Get-Content "./CoverageReport/SummaryGithub.md" -Raw
45-
echo "## Code Coverage Report" >> $env:GITHUB_STEP_SUMMARY
46-
echo "$summary" >> $env:GITHUB_STEP_SUMMARY
47-
}
48-
shell: pwsh
49-
50-
- name: Comment Coverage on PR
51-
if: github.event_name == 'pull_request'
52-
run: |
53-
if (Test-Path "./CoverageReport/SummaryGithub.md") {
54-
$summary = Get-Content "./CoverageReport/SummaryGithub.md" -Raw
55-
$commentBody = @"
56-
## 📊 Code Coverage Report
57-
58-
$summary
59-
60-
---
61-
*Coverage report generated by [ReportGenerator](https://github.com/danielpalme/ReportGenerator) • [View full report in build artifacts](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})*
62-
"@
63-
64-
# Clean up any existing coverage comments first
65-
Write-Host "Cleaning up existing coverage comments..."
66-
$existingComments = gh api repos/${{ github.repository }}/issues/${{ github.event.number }}/comments --jq '.[] | select(.user.login == "github-actions[bot]" and (.body | contains("📊 Code Coverage Report"))) | .id'
67-
68-
if ($existingComments) {
69-
$commentIds = $existingComments -split "`n" | Where-Object { $_.Trim() -ne "" }
70-
foreach ($commentId in $commentIds) {
71-
Write-Host "Deleting existing coverage comment: $commentId"
72-
gh api repos/${{ github.repository }}/issues/comments/$commentId --method DELETE
73-
}
74-
Write-Host "Cleaned up $($commentIds.Count) existing coverage comment(s)"
75-
}
76-
77-
# Create new comment
78-
Write-Host "Creating new coverage comment"
79-
$commentBody | gh pr comment ${{ github.event.number }} --body-file -
80-
}
81-
shell: pwsh
82-
env:
83-
GH_TOKEN: ${{ github.token }}
84-
85-
- name: Build MSI Installer
86-
run: |
87-
cd Daqifi.Desktop.Setup
88-
dotnet build -c Release
89-
90-
- name: Upload MSI Artifact
91-
uses: actions/upload-artifact@v4
92-
with:
93-
name: DAQifiDesktop-Installer
94-
path: Daqifi.Desktop.Setup/DAQifiDesktopSetup/bin/x86/Release/DAQifiDesktop_Setup.msi
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
build-and-test:
8+
runs-on: windows-latest
9+
10+
steps:
11+
- uses: actions/checkout@v5
12+
13+
- name: Setup .NET
14+
uses: actions/setup-dotnet@v4
15+
with:
16+
dotnet-version: 8.0.x
17+
18+
- name: Restore dependencies
19+
run: dotnet restore
20+
21+
- name: Build with Analysis
22+
run: dotnet build --no-restore --configuration Release /p:EnforceCodeStyleInBuild=true
23+
24+
- name: Test with Coverage
25+
run: dotnet test --no-build --verbosity normal --configuration Release --collect:"XPlat Code Coverage" --results-directory ./TestResults/ /p:CoverletOutputFormat=cobertura
26+
27+
- name: Install ReportGenerator
28+
run: dotnet tool install -g dotnet-reportgenerator-globaltool
29+
30+
- name: Generate Coverage Report
31+
run: reportgenerator -reports:"./TestResults/**/coverage.cobertura.xml" -targetdir:"./CoverageReport" -reporttypes:"HtmlInline_AzurePipelines;TextSummary;MarkdownSummaryGithub" -verbosity:Warning
32+
33+
- name: Upload Coverage Report
34+
uses: actions/upload-artifact@v4
35+
with:
36+
name: coverage-report
37+
path: ./CoverageReport/
38+
if-no-files-found: warn
39+
40+
- name: Add Coverage to Step Summary
41+
if: github.event_name == 'pull_request'
42+
run: |
43+
if (Test-Path "./CoverageReport/SummaryGithub.md") {
44+
$summary = Get-Content "./CoverageReport/SummaryGithub.md" -Raw
45+
echo "## Code Coverage Report" >> $env:GITHUB_STEP_SUMMARY
46+
echo "$summary" >> $env:GITHUB_STEP_SUMMARY
47+
}
48+
shell: pwsh
49+
50+
- name: Comment Coverage on PR
51+
if: github.event_name == 'pull_request'
52+
run: |
53+
if (Test-Path "./CoverageReport/SummaryGithub.md") {
54+
$summary = Get-Content "./CoverageReport/SummaryGithub.md" -Raw
55+
$commentBody = @"
56+
## 📊 Code Coverage Report
57+
58+
$summary
59+
60+
---
61+
*Coverage report generated by [ReportGenerator](https://github.com/danielpalme/ReportGenerator) • [View full report in build artifacts](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})*
62+
"@
63+
64+
# Clean up any existing coverage comments first
65+
Write-Host "Cleaning up existing coverage comments..."
66+
$existingComments = gh api repos/${{ github.repository }}/issues/${{ github.event.number }}/comments --jq '.[] | select(.user.login == "github-actions[bot]" and (.body | contains("📊 Code Coverage Report"))) | .id'
67+
68+
if ($existingComments) {
69+
$commentIds = $existingComments -split "`n" | Where-Object { $_.Trim() -ne "" }
70+
foreach ($commentId in $commentIds) {
71+
Write-Host "Deleting existing coverage comment: $commentId"
72+
gh api repos/${{ github.repository }}/issues/comments/$commentId --method DELETE
73+
}
74+
Write-Host "Cleaned up $($commentIds.Count) existing coverage comment(s)"
75+
}
76+
77+
# Create new comment
78+
Write-Host "Creating new coverage comment"
79+
$commentBody | gh pr comment ${{ github.event.number }} --body-file -
80+
}
81+
shell: pwsh
82+
env:
83+
GH_TOKEN: ${{ github.token }}
84+
85+
- name: Build MSI Installer
86+
run: |
87+
cd Daqifi.Desktop.Setup
88+
dotnet build -c Release
89+
90+
- name: Upload MSI Artifact
91+
uses: actions/upload-artifact@v4
92+
with:
93+
name: DAQifiDesktop-Installer
94+
path: Daqifi.Desktop.Setup/DAQifiDesktopSetup/bin/x86/Release/DAQifiDesktop_Setup.msi
9595
if-no-files-found: error

.github/workflows/claude.yml

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,64 @@
1-
name: Claude Code
2-
3-
on:
4-
issue_comment:
5-
types: [created]
6-
pull_request_review_comment:
7-
types: [created]
8-
issues:
9-
types: [opened, assigned]
10-
pull_request_review:
11-
types: [submitted]
12-
13-
jobs:
14-
claude:
15-
if: |
16-
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
17-
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
18-
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
19-
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
20-
runs-on: ubuntu-latest
21-
permissions:
22-
contents: read
23-
pull-requests: read
24-
issues: read
25-
id-token: write
26-
actions: read # Required for Claude to read CI results on PRs
27-
steps:
28-
- name: Checkout repository
29-
uses: actions/checkout@v5
30-
with:
31-
fetch-depth: 1
32-
33-
- name: Run Claude Code
34-
id: claude
35-
uses: anthropics/claude-code-action@beta
36-
with:
37-
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
38-
39-
# This is an optional setting that allows Claude to read CI results on PRs
40-
additional_permissions: |
41-
actions: read
42-
43-
# Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4)
44-
# model: "claude-opus-4-20250514"
45-
46-
# Optional: Customize the trigger phrase (default: @claude)
47-
# trigger_phrase: "/claude"
48-
49-
# Optional: Trigger when specific user is assigned to an issue
50-
# assignee_trigger: "claude-bot"
51-
52-
# Optional: Allow Claude to run specific commands
53-
# allowed_tools: "Bash(npm install),Bash(npm run build),Bash(npm run test:*),Bash(npm run lint:*)"
54-
55-
# Optional: Add custom instructions for Claude to customize its behavior for your project
56-
# custom_instructions: |
57-
# Follow our coding standards
58-
# Ensure all new code has tests
59-
# Use TypeScript for new files
60-
61-
# Optional: Custom environment variables for Claude
62-
# claude_env: |
63-
# NODE_ENV: test
64-
1+
name: Claude Code
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_review_comment:
7+
types: [created]
8+
issues:
9+
types: [opened, assigned]
10+
pull_request_review:
11+
types: [submitted]
12+
13+
jobs:
14+
claude:
15+
if: |
16+
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
17+
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
18+
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
19+
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
20+
runs-on: ubuntu-latest
21+
permissions:
22+
contents: read
23+
pull-requests: read
24+
issues: read
25+
id-token: write
26+
actions: read # Required for Claude to read CI results on PRs
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v5
30+
with:
31+
fetch-depth: 1
32+
33+
- name: Run Claude Code
34+
id: claude
35+
uses: anthropics/claude-code-action@beta
36+
with:
37+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
38+
39+
# This is an optional setting that allows Claude to read CI results on PRs
40+
additional_permissions: |
41+
actions: read
42+
43+
# Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4)
44+
# model: "claude-opus-4-20250514"
45+
46+
# Optional: Customize the trigger phrase (default: @claude)
47+
# trigger_phrase: "/claude"
48+
49+
# Optional: Trigger when specific user is assigned to an issue
50+
# assignee_trigger: "claude-bot"
51+
52+
# Optional: Allow Claude to run specific commands
53+
# allowed_tools: "Bash(npm install),Bash(npm run build),Bash(npm run test:*),Bash(npm run lint:*)"
54+
55+
# Optional: Add custom instructions for Claude to customize its behavior for your project
56+
# custom_instructions: |
57+
# Follow our coding standards
58+
# Ensure all new code has tests
59+
# Use TypeScript for new files
60+
61+
# Optional: Custom environment variables for Claude
62+
# claude_env: |
63+
# NODE_ENV: test
64+

.github/workflows/release.yaml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
name: Release
2-
3-
on:
4-
release:
5-
types: [created]
6-
7-
jobs:
8-
build-and-release:
9-
runs-on: windows-latest
10-
11-
steps:
12-
- uses: actions/checkout@v5
13-
14-
- name: Setup .NET
15-
uses: actions/setup-dotnet@v4
16-
with:
17-
dotnet-version: 8.0.x
18-
19-
- name: Restore dependencies
20-
run: dotnet restore
21-
22-
- name: Build
23-
run: dotnet build --no-restore --configuration Release
24-
25-
- name: Build MSI Installer
26-
run: |
27-
cd Daqifi.Desktop.Setup
28-
dotnet build -c Release
29-
30-
- name: Upload Release Asset
31-
uses: softprops/action-gh-release@v2
32-
with:
33-
files: Daqifi.Desktop.Setup/DAQifiDesktopSetup/bin/x86/Release/DAQifiDesktop_Setup.msi
34-
env:
1+
name: Release
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
build-and-release:
9+
runs-on: windows-latest
10+
11+
steps:
12+
- uses: actions/checkout@v5
13+
14+
- name: Setup .NET
15+
uses: actions/setup-dotnet@v4
16+
with:
17+
dotnet-version: 8.0.x
18+
19+
- name: Restore dependencies
20+
run: dotnet restore
21+
22+
- name: Build
23+
run: dotnet build --no-restore --configuration Release
24+
25+
- name: Build MSI Installer
26+
run: |
27+
cd Daqifi.Desktop.Setup
28+
dotnet build -c Release
29+
30+
- name: Upload Release Asset
31+
uses: softprops/action-gh-release@v2
32+
with:
33+
files: Daqifi.Desktop.Setup/DAQifiDesktopSetup/bin/x86/Release/DAQifiDesktop_Setup.msi
34+
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)