Skip to content

Commit

Permalink
chore: update deps (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
vhatsura authored Aug 7, 2024
1 parent 0ac9890 commit 9021918
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 43 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/continuous.integration.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,34 @@
---
name: Continuous Integration Check

on:
pull_request:
branches: [ main ]
types: [ opened, synchronize, reopened, ready_for_review ]
workflow_dispatch:

jobs:
permissions: read-all

env:
GH_PKG_USER: ${{ secrets.GH_PKG_USER }}
GH_PKG_TOKEN: ${{ secrets.GH_PKG_TOKEN }}

jobs:
ci:
name: Continuous Integration Check
runs-on: ubuntu-latest

env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET Core 7.0.x
uses: actions/setup-dotnet@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
---
name: Lint Code Base

on:
pull_request:
branches: [ main ]
types: [ opened, synchronize, reopened, ready_for_review ]
branches: [main]

jobs:
lint:
permissions:
contents: read
statuses: write

jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter@v5
uses: super-linter/super-linter@v6
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_EDITORCONFIG: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11 changes: 7 additions & 4 deletions .github/workflows/nuget.publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Publish NuGet package

on:
Expand All @@ -7,6 +6,10 @@ on:
push:
branches: [ main ]

permissions:
contents: read
pull-requests: read

jobs:

publish:
Expand All @@ -16,14 +19,14 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET Core 7.0.x
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>

<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IncludeSymbols>true</IncludeSymbols>
Expand All @@ -26,12 +26,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Confluent.Kafka" Version="[2.2.0, 3.0.0)"/>
<PackageReference Include="Confluent.Kafka" Version="[2.3.0, 3.0.0)"/>
<PackageReference Include="GitVersion.MsBuild" Version="5.12.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static class ProducerBuilderExtensions
public static IProducer<TKey, TValue> BuildWithInstrumentation<TKey, TValue>(
this ProducerBuilder<TKey, TValue> producerBuilder)
{
if (producerBuilder == null) throw new ArgumentNullException(nameof(producerBuilder));
ArgumentNullException.ThrowIfNull(producerBuilder);

return new InstrumentedProducer<TKey, TValue>(producerBuilder.Build());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Confluent.Kafka" Version="2.2.0"/>
<PackageReference Include="FluentAssertions" Version="6.11.0"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3"/>
<PackageReference Include="Snapshooter.Xunit" Version="0.13.0"/>
<PackageReference Include="TestEnvironment.Docker.Containers.Kafka" Version="2.1.4"/>
<PackageReference Include="xunit" Version="2.5.0"/>
<PackageReference Include="Xunit.Extensions.AssemblyFixture" Version="2.4.1"/>
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PackageReference Include="FluentAssertions" Version="6.12.0"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0"/>
<PackageReference Include="Snapshooter.Xunit" Version="0.14.1"/>
<PackageReference Include="TestEnvironment.Docker.Containers.Kafka" Version="2.1.6"/>
<PackageReference Include="xunit" Version="2.9.0"/>
<PackageReference Include="Xunit.Extensions.AssemblyFixture" Version="2.6.0"/>
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PackageReference Include="coverlet.collector" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"Status": "Ok",
"StatusDescription": null,
"HasRemoteParent": false,
"Kind": "Producer",
"OperationName": "produce_topic publish",
"DisplayName": "produce_topic publish",
"OperationName": "dependent_produce_topic publish",
"DisplayName": "dependent_produce_topic publish",
"Source": {
"Name": "Confluent.Kafka.Extensions.Diagnostics",
"Version": ""
Expand All @@ -26,7 +25,7 @@
},
{
"Key": "messaging.destination.name",
"Value": "produce_topic"
"Value": "dependent_produce_topic"
},
{
"Key": "messaging.kafka.destination.partition",
Expand Down Expand Up @@ -54,6 +53,5 @@
"IsAllDataRequested": false,
"ActivityTraceFlags": "None",
"ParentSpanId": {},
"IsStopped": true,
"IdFormat": "W3C"
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"Status": "Ok",
"StatusDescription": null,
"HasRemoteParent": false,
"Kind": "Producer",
"OperationName": "produce_async_topic publish",
"DisplayName": "produce_async_topic publish",
"OperationName": "dependent_produce_async_topic publish",
"DisplayName": "dependent_produce_async_topic publish",
"Source": {
"Name": "Confluent.Kafka.Extensions.Diagnostics",
"Version": ""
Expand All @@ -26,15 +25,15 @@
},
{
"Key": "messaging.destination.name",
"Value": "produce_async_topic"
"Value": "dependent_produce_async_topic"
},
{
"Key": "messaging.kafka.destination.partition",
"Value": "0"
},
{
"Key": "messaging.kafka.message.offset",
"Value": "1"
"Value": "0"
}
],
"Events": [],
Expand All @@ -54,6 +53,5 @@
"IsAllDataRequested": false,
"ActivityTraceFlags": "None",
"ParentSpanId": {},
"IsStopped": true,
"IdFormat": "W3C"
}

0 comments on commit 9021918

Please sign in to comment.