Skip to content

Commit

Permalink
Merge pull request #32 from RaaLabs/release
Browse files Browse the repository at this point in the history
test release workflow
  • Loading branch information
katarinagud authored Oct 22, 2024
2 parents c1bff0e + bdb57fb commit b945c2f
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
failure-threshold: error

- name: Docker Build
uses: docker/build-push-action@v6
uses: docker/build-push-action@v5
if: ${{ steps.context.outputs.should-publish == 'false' }}
with:
push: false
Expand All @@ -78,7 +78,7 @@ jobs:
release-type: ${{ steps.context.outputs.release-type }}

- name: Docker push
uses: docker/build-push-action@v6
uses: docker/build-push-action@v5
if: ${{ steps.context.outputs.should-publish == 'true' && inputs.IMAGE_NAME != '' }}
with:
push: true
Expand Down
2 changes: 1 addition & 1 deletion Source/OPCUA.CodeStyle.props → CodeStyle.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
<NoWarn>$(NoWarn);SYSLIB1006;CS1591;IL2104;IL2026;CS1570;CS1573</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion Source/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ ARG TARGETARCH
WORKDIR /app

VOLUME [ "/app/config" ]

COPY Source/ ./Source/
COPY CodeStyle.props .

WORKDIR /app/Source

Expand Down
12 changes: 6 additions & 6 deletions Source/OPCUA.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="./OPCUA.CodeStyle.props" />
<Import Project="../CodeStyle.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
Expand All @@ -15,11 +15,11 @@
<TrimmerRootAssembly Include="RaaLabs.Edge.Connectors.OPCUA" preserve="all" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="RaaLabs.Edge" Version="1.16.3" />
<PackageReference Include="RaaLabs.Edge.Modules.EventHandling" Version="1.16.3" />
<PackageReference Include="RaaLabs.Edge.Modules.Configuration" Version="1.16.3" />
<PackageReference Include="RaaLabs.Edge.Modules.EdgeHub" Version="1.16.3" />
<PackageReference Include="RaaLabs.Edge.Modules.Diagnostics" Version="1.16.3" />
<PackageReference Include="RaaLabs.Edge" Version="1.18.9" />
<PackageReference Include="RaaLabs.Edge.Modules.EventHandling" Version="1.18.9" />
<PackageReference Include="RaaLabs.Edge.Modules.Configuration" Version="1.18.9" />
<PackageReference Include="RaaLabs.Edge.Modules.EdgeHub" Version="1.18.9" />
<PackageReference Include="RaaLabs.Edge.Modules.Diagnostics" Version="1.18.9" />
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Server" Version="1.5.374.118" />
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Client" Version="1.5.374.118" />
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Configuration" Version="1.5.374.118" />
Expand Down
4 changes: 1 addition & 3 deletions Source/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@
using Autofac;
using Opc.Ua.Client;



namespace RaaLabs.Edge.Connectors.OPCUA;

[ExcludeFromCodeCoverage]
static class Program
{
static void Main(string[] args)
static void Main()
{
var application = new ApplicationBuilder()
.WithModule<EventHandling>()
Expand Down
4 changes: 3 additions & 1 deletion Specifications/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ dotnet_naming_symbols.specification_fields.applicable_accessibilities = public,
dotnet_naming_style.snake_case_classes.capitalization = all_lower
dotnet_naming_style.snake_case_classes.word_separator = _

dotnet_naming_rule.private_members_with_underscore.severity = none
dotnet_naming_rule.private_members_with_underscore.severity = none
dotnet_naming_rule.private_members_with_underscore.symbols = specification_fields
dotnet_naming_rule.private_members_with_underscore.style = snake_case_classes
2 changes: 1 addition & 1 deletion Specifications/OPCUA.Specs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageReference Include="Machine.Specifications.Runner.Console" Version="1.0.0" />
<PackageReference Include="Machine.Specifications.Runner.VisualStudio" Version="2.10.2" />
<PackageReference Include="Machine.Specifications.Should" Version="1.0.0" />
<PackageReference Include="RaaLabs.Edge.Testing" Version="1.16.3" />
<PackageReference Include="RaaLabs.Edge.Testing" Version="1.18.9" />
<PackageReference Include="coverlet.collector" Version="6.0.2" />
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit b945c2f

Please sign in to comment.