diff --git a/.github/dependabot.yml b/.github/dependabot.yml index fe5fc7f..841f056 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,6 @@ version: 2 updates: - - package-ecosystem: "maven" + - package-ecosystem: "nuget" directory: "/" schedule: interval: "weekly" diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..1978ae7 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,33 @@ +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +name: .NET + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + dotnet-version: [ '6.0.x', '8.0.x' ] + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET ${{ matrix.dotnet-version }} + uses: actions/setup-dotnet@v3 + with: + dotnet-version: ${{ matrix.dotnet-version }} + - name: Display dotnet version + run: dotnet --version + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal diff --git a/README.md b/README.md index 1fdd1ae..65f4aec 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ all languages. [DefaultAWSCredentialsProviderChain]: http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.html [kinesis-forum]: http://developer.amazonwebservices.com/connect/forum.jspa?forumID=169 [master-zip]: https://github.com/awslabs/amazon-kinesis-client-net/archive/master.zip -[aws-sdk-dotnet]: http://aws.amazon.com/developers/getting-started/net/ +[aws-sdk-dotnet]: https://aws.amazon.com/sdk-for-net/ [aws-sdk-dotnet-credentials]: http://docs.aws.amazon.com/AWSSdkDocsNET/latest/DeveloperGuide/net-dg-config-creds.html#net-dg-config-creds-creds-file [aws-console]: http://aws.amazon.com/console/ [sample-properties]: https://github.com/awslabs/amazon-kinesis-client-net/blob/master/SampleConsumer/kcl.properties diff --git a/SampleConsumer/SampleConsumer.csproj b/SampleConsumer/SampleConsumer.csproj index 26616be..b88680a 100644 --- a/SampleConsumer/SampleConsumer.csproj +++ b/SampleConsumer/SampleConsumer.csproj @@ -6,7 +6,7 @@ - + diff --git a/SampleProducer/SampleProducer.csproj b/SampleProducer/SampleProducer.csproj index ce66de0..7e393c2 100644 --- a/SampleProducer/SampleProducer.csproj +++ b/SampleProducer/SampleProducer.csproj @@ -7,7 +7,7 @@ - + diff --git a/pom.xml b/pom.xml index dc3c431..d206ec2 100644 --- a/pom.xml +++ b/pom.xml @@ -2,12 +2,12 @@ 4.0.0 - 2.19.2 + 2.19.16 1.12.370 - 4.1.86.Final + 4.1.100.Final 2.0.6 2.14.2 - 1.3.0 + 1.3.12 @@ -203,7 +203,7 @@ com.google.guava guava - 31.0.1-jre + 32.1.1-jre com.google.code.findbugs @@ -233,7 +233,7 @@ com.google.protobuf protobuf-java - 3.21.5 + 3.21.7 org.apache.commons @@ -333,12 +333,12 @@ commons-logging commons-logging - 1.1.3 + 1.2 org.apache.commons commons-collections4 - 4.2 + 4.4 commons-beanutils @@ -351,4 +351,4 @@ 3.2.2 - \ No newline at end of file +