Skip to content

Commit 3dea4f4

Browse files
Merge branch 'master' into integration-test
2 parents 6785c24 + 63f26e1 commit 3dea4f4

File tree

6 files changed

+36
-28
lines changed

6 files changed

+36
-28
lines changed

.gitattributes

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22
* text eol=crlf
33

44
# Explicitly set Unix LF endings for .sh files
5-
*.sh text eol=lf
5+
*.sh text eol=lf
6+
7+
# Denote all files that are truly binary and should not be modified.
8+
*.png binary
9+
*.jpg binary

.github/workflows/codacy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ permissions:
1313

1414
jobs:
1515
report-coverage:
16+
if: github.repository == 'btcpay-monero/btcpayserver-monero-plugin' && github.event.workflow_run.conclusion == 'success'
1617
runs-on: ubuntu-latest
1718
steps:
1819
- name: Download coverage report
19-
uses: actions/download-artifact@v4.3.0
20+
uses: actions/download-artifact@v4
2021
with:
2122
name: coverage-report
2223
github-token: ${{ secrets.API_GITHUB }}
2324
run-id: ${{ github.event.workflow_run.id }}
2425
- name: Run codacy-coverage-reporter
25-
uses: codacy/codacy-coverage-reporter-action@v1.3.0
26+
uses: codacy/codacy-coverage-reporter-action@v1
2627
with:
2728
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
2829
coverage-reports: dotcover.xml

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ jobs:
5252
run: docker compose -f BTCPayServer.Plugins.IntegrationTests/docker-compose.yml down -v
5353

5454
- name: Upload coverage report
55-
uses: actions/upload-artifact@v4.6.2
55+
uses: actions/upload-artifact@v4
5656
with:
5757
name: coverage-report
5858
path: coverage/dotcover.xml
5959

6060
- name: Upload NuGet package
61-
uses: actions/upload-artifact@v4.6.2
61+
uses: actions/upload-artifact@v4
6262
with:
6363
name: nuget-package-${{ github.sha }}
6464
path: nuget-packages/BTCPayServer.Plugins.Monero.1.0.0.nupkg

Plugins/Monero/BTCPayServer.Plugins.Monero.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<!-- Plugin development properties -->
1515
<PropertyGroup>
1616
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
17+
<StaticWebAssetsEnabled>false</StaticWebAssetsEnabled>
1718
<PreserveCompilationContext>false</PreserveCompilationContext>
1819
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
1920
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>
Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 17
4-
VisualStudioVersion = 17.0.31903.59
5-
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BTCPayServer.Plugins.Monero", "BTCPayServer.Plugins.Monero.csproj", "{440E70AD-BA40-449C-8315-6A13D95B6ED7}"
7-
EndProject
8-
Global
9-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10-
Debug|Any CPU = Debug|Any CPU
11-
Release|Any CPU = Release|Any CPU
12-
EndGlobalSection
13-
GlobalSection(SolutionProperties) = preSolution
14-
HideSolutionNode = FALSE
15-
EndGlobalSection
16-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
17-
{440E70AD-BA40-449C-8315-6A13D95B6ED7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
18-
{440E70AD-BA40-449C-8315-6A13D95B6ED7}.Debug|Any CPU.Build.0 = Debug|Any CPU
19-
{440E70AD-BA40-449C-8315-6A13D95B6ED7}.Release|Any CPU.ActiveCfg = Release|Any CPU
20-
{440E70AD-BA40-449C-8315-6A13D95B6ED7}.Release|Any CPU.Build.0 = Release|Any CPU
21-
EndGlobalSection
22-
EndGlobal
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31903.59
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BTCPayServer.Plugins.Monero", "BTCPayServer.Plugins.Monero.csproj", "{440E70AD-BA40-449C-8315-6A13D95B6ED7}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(SolutionProperties) = preSolution
14+
HideSolutionNode = FALSE
15+
EndGlobalSection
16+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
17+
{440E70AD-BA40-449C-8315-6A13D95B6ED7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
18+
{440E70AD-BA40-449C-8315-6A13D95B6ED7}.Debug|Any CPU.Build.0 = Debug|Any CPU
19+
{440E70AD-BA40-449C-8315-6A13D95B6ED7}.Release|Any CPU.ActiveCfg = Release|Any CPU
20+
{440E70AD-BA40-449C-8315-6A13D95B6ED7}.Release|Any CPU.Build.0 = Release|Any CPU
21+
EndGlobalSection
22+
EndGlobal

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ dotnet build btcpay-monero-plugin.sln
8383
docker compose -f BTCPayServer.Plugins.IntegrationTests/docker-compose.yml run tests
8484
```
8585

86-
**BTCPAY_XMR_CASHCOW_WALLET_DAEMON_URI** | **Optional**. The URI of the [monero-wallet-rpc](https://getmonero.dev/interacting/monero-wallet-rpc.html) interface for the cashcow wallet. This is used to create a second wallet for testing purposes in regtest mode.
86+
| Environment variable | Description | Example |
87+
| --- |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| --- |
88+
**BTCPAY_XMR_CASHCOW_WALLET_DAEMON_URI** | **Optional**. | The URI of the [monero-wallet-rpc](https://getmonero.dev/interacting/monero-wallet-rpc.html) interface for the cashcow wallet. This is used to create a second wallet for testing purposes in regtest mode.
8789

8890
## Code formatting
8991

0 commit comments

Comments
 (0)