diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c59dfe2..da7348f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - framework: [netcoreapp3.1, net5.0, net48] + framework: [net48, net5.0, net6.0, net7.0] os: [ubuntu-latest] test: [""] configuration: [release] @@ -39,15 +39,13 @@ jobs: - name: Pull EventStore Image run: | docker pull ghcr.io/eventstore/eventstore:${{ matrix.docker-tag }} - - name: Install netcoreapp3.1 - uses: actions/setup-dotnet@v1 - if: matrix.framework == 'netcoreapp3.1' + - name: Install dotnet + uses: actions/setup-dotnet@v3 with: - dotnet-version: 3.1.x - - name: Install net5.0 - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 5.0.x + dotnet-version: | + 5.0.x + 6.0.x + 7.0.x - name: Restore run: | dotnet restore @@ -96,14 +94,13 @@ jobs: dotnet tool restore version=$(dotnet tool run minver -- --tag-prefix=v) echo "::set-output name=version::${version}" - - name: Install netcoreapp3.1 - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 3.1.x - - name: Install net5.0 - uses: actions/setup-dotnet@v1 + - name: Install dotnet + uses: actions/setup-dotnet@v3 with: - dotnet-version: 5.0.x + dotnet-version: | + 5.0.x + 6.0.x + 7.0.x - name: Dotnet Pack run: | dotnet pack /p:Version=${{ steps.get_version.outputs.version }} --configuration=Release --output=./packages \ diff --git a/Directory.Build.props b/Directory.Build.props index 3c57d53..46ff31a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ true - netcoreapp3.1;net48;net5.0 + net48;net5.0;net6.0;net7.0 latest EventStore.ClientAPI true diff --git a/test/Directory.Build.props b/test/Directory.Build.props index 81bde3b..f8d5a96 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -5,12 +5,13 @@ true - + + - + - - + + all runtime; build; native; contentfiles; analyzers