diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
deleted file mode 100644
index 7d72101..0000000
--- a/.github/workflows/codeql-analysis.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-name: "CodeQL Analyze"
-
-on:
- pull_request:
- branches: [ develop ]
- schedule:
- - cron: '36 12 * * 3'
-
-jobs:
- analyze:
- runs-on: ubuntu-latest
-
- strategy:
- fail-fast: false
- matrix:
- language: [ 'csharp' ]
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v2
- - name: Setup .NET Core 7.0
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: '7.0.x'
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v1
- with:
- languages: ${{ matrix.language }}
- - name: Autobuild
- uses: github/codeql-action/autobuild@v1
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
\ No newline at end of file
diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml
index fc6b7ed..a147c22 100644
--- a/.github/workflows/dotnet-core.yml
+++ b/.github/workflows/dotnet-core.yml
@@ -15,42 +15,42 @@ jobs:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- - uses: actions/checkout@v2
- - name: Setup .NET Core 7.0
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: '7.0.x'
- - name: Clean
- run: dotnet clean --configuration Release && dotnet nuget locals all --clear
- - name: Install dependencies
- run: dotnet restore qatoolkit-engine-httptester-net.sln
- - name: Build
- run: dotnet build --configuration Release --no-restore
- - name: Test
- run: dotnet test --no-restore --verbosity normal
- - name: Upload a Build Artifact
- uses: actions/upload-artifact@v2.2.0
- with:
- # Artifact name
- name: qatoolkit-engine-httptester-net.zip
- # A file, directory or wildcard pattern that describes what to upload
- path: src/QAToolKit.Engine.HttpTester/bin/
+ - uses: actions/checkout@v4.1.1
+ - name: Setup .NET Core 8.0
+ uses: actions/setup-dotnet@v4
+ with:
+ dotnet-version: '8.0.x'
+ - name: Clean
+ run: dotnet clean --configuration Release && dotnet nuget locals all --clear
+ - name: Install dependencies
+ run: dotnet restore qatoolkit-engine-httptester-net.sln
+ - name: Build
+ run: dotnet build --configuration Release --no-restore
+ - name: Test
+ run: dotnet test --no-restore --verbosity normal
+ - name: Upload a Build Artifact
+ uses: actions/upload-artifact@v4.3.1
+ with:
+ # Artifact name
+ name: qatoolkit-engine-httptester-net-${{ matrix.os }}.zip
+ # A file, directory or wildcard pattern that describes what to upload
+ path: src/QAToolKit.Engine.HttpTester/bin/
deploy:
name: Pack and Push Nuget
needs: build
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - name: Setup .NET Core 7.0
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: '7.0.x'
- - name: Pack NuGet
- uses: brandedoutcast/publish-nuget@v2.5.5
- with:
- # Filepath of the project to be packaged, relative to root of repository
- PROJECT_FILE_PATH: src/QAToolKit.Engine.HttpTester/QAToolKit.Engine.HttpTester.csproj
- VERSION_FILE_PATH: Directory.Build.props
- NUGET_KEY: ${{secrets.NUGET_API_KEY}}
- TAG_COMMIT: true
\ No newline at end of file
+ - uses: actions/checkout@v4.1.1
+ - name: Setup .NET Core 8.0
+ uses: actions/setup-dotnet@v4
+ with:
+ dotnet-version: '8.0.x'
+ - name: Pack NuGet
+ uses: brandedoutcast/publish-nuget@v2.5.5
+ with:
+ # Filepath of the project to be packaged, relative to root of repository
+ PROJECT_FILE_PATH: src/QAToolKit.Engine.HttpTester/QAToolKit.Engine.HttpTester.csproj
+ VERSION_FILE_PATH: Directory.Build.props
+ NUGET_KEY: ${{secrets.NUGET_API_KEY}}
+ TAG_COMMIT: true
\ No newline at end of file
diff --git a/.github/workflows/sonarqube-analysis.yml b/.github/workflows/sonarqube-analysis.yml
deleted file mode 100644
index 9661925..0000000
--- a/.github/workflows/sonarqube-analysis.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-name: Sonarqube Analyze
-on:
- push:
- branches:
- - main
- pull_request:
- types: [opened, synchronize, reopened]
-jobs:
- sonarcloud:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 0
- - name: Setup .NET Core 7.0
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: '7.0.x'
- - name: SonarScanner for .NET Core with pull request decoration support
- uses: highbyte/sonarscan-dotnet@v2.2.1
- with:
- sonarProjectKey: qatoolkit_qatoolkit-engine-httptester-net
- sonarProjectName: qatoolkit_qatoolkit-engine-httptester-net
- sonarOrganization: qatoolkit
- dotnetBuildArguments: ./src/QAToolKit.Engine.HttpTester/QAToolKit.Engine.HttpTester.csproj
- dotnetTestArguments: ./src/QAToolKit.Engine.HttpTester.Test/QAToolKit.Engine.HttpTester.Test.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
- sonarBeginArguments: /d:sonar.verbose="true" /d:sonar.language="cs" /d:sonar.cs.opencover.reportsPaths="**/*opencover.xml"
- sonarHostname: "https://sonarcloud.io"
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
\ No newline at end of file
diff --git a/Directory.Build.props b/Directory.Build.props
index b580f08..f49f3e0 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -1,5 +1,5 @@
- 0.3.7
+ 0.3.8
\ No newline at end of file
diff --git a/README.md b/README.md
index 110a409..4def197 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@
## Description
`QAToolKit.Engine.HttpTester` is a .NET Standard 2.1 library, that that contains an implementation of `IHttpTesterClient` that is a thin wrapper around .NET `HttpClient` to allow to write easy Http Request calls.
-Supported .NET frameworks and standards: `netstandard2.0`, `netstandard2.1`, `net7.0`
+Supported .NET frameworks and standards: `netstandard2.0`, `netstandard2.1`, `net8.0`
Get in touch with me on:
@@ -287,7 +287,7 @@ using (var client = new HttpTesterClient())
MIT License
-Copyright (c) 2020-2023 Miha Jakovac
+Copyright (c) 2020-2024 Miha Jakovac
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/src/QAToolKit.Engine.HttpTester.Test/QAToolKit.Engine.HttpTester.Test.csproj b/src/QAToolKit.Engine.HttpTester.Test/QAToolKit.Engine.HttpTester.Test.csproj
index 87762cb..04360d9 100644
--- a/src/QAToolKit.Engine.HttpTester.Test/QAToolKit.Engine.HttpTester.Test.csproj
+++ b/src/QAToolKit.Engine.HttpTester.Test/QAToolKit.Engine.HttpTester.Test.csproj
@@ -1,28 +1,28 @@
- net7.0
+ net8.0
latest
false
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
+
+
+
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/QAToolKit.Engine.HttpTester/QAToolKit.Engine.HttpTester.csproj b/src/QAToolKit.Engine.HttpTester/QAToolKit.Engine.HttpTester.csproj
index 77e35c2..94b6213 100644
--- a/src/QAToolKit.Engine.HttpTester/QAToolKit.Engine.HttpTester.csproj
+++ b/src/QAToolKit.Engine.HttpTester/QAToolKit.Engine.HttpTester.csproj
@@ -1,7 +1,7 @@
- netstandard2.0;netstandard2.1;net7.0
+ netstandard2.0;netstandard2.1;net8.0
true
latest
23f0cf6e-9a0a-4be5-8f51-51daf799a0bf
@@ -19,7 +19,7 @@
https://github.com/qatoolkit/qatoolkit-engine-httptester-net
qatoolkit-64x64.png
https://github.com/qatoolkit/qatoolkit-core-net
- qatoolkit-engine-httptester-net;.net;c#;f#;dotnet;netstandard;net7
+ qatoolkit-engine-httptester-net;.net;c#;f#;dotnet;netstandard;net8
Debug;Release
@@ -34,7 +34,7 @@
-
-
+
+