diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 5fac162e..e39bb16d 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -18,8 +18,6 @@ jobs: - name: Set up .NET uses: actions/setup-dotnet@v3 - with: - dotnet-version: 7 - name: Format whitespace working-directory: ${{ env.WORKING_DIR }} diff --git a/.github/workflows/pubish.yml b/.github/workflows/publish.yml similarity index 96% rename from .github/workflows/pubish.yml rename to .github/workflows/publish.yml index 24228f53..9ac7a766 100644 --- a/.github/workflows/pubish.yml +++ b/.github/workflows/publish.yml @@ -28,8 +28,6 @@ jobs: - name: Set up .NET uses: actions/setup-dotnet@v3 - with: - dotnet-version: 7 - name: Install dependencies working-directory: ${{ env.WORKING_DIR }} @@ -39,7 +37,6 @@ jobs: working-directory: ${{ env.WORKING_DIR }} run: | dotnet build -c ${{ env.BUILD_CONFIG }} --no-restore \ - -p:ContinuousIntegrationBuild=true \ -p:Commit=${{ github.sha }} \ -p:VersionSuffix=preview.${{ github.run_number }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7effae83..aa005013 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,8 @@ name: Test on: pull_request: + push: + branches: [main] jobs: test: @@ -19,8 +21,6 @@ jobs: - name: Set up .NET uses: actions/setup-dotnet@v3 - with: - dotnet-version: 7 - name: Install dependencies working-directory: ${{ env.WORKING_DIR }} @@ -28,7 +28,7 @@ jobs: - name: Build working-directory: ${{ env.WORKING_DIR }} - run: dotnet build -c ${{ env.BUILD_CONFIG }} --no-restore -p:ContinuousIntegrationBuild=true -p:Commit=${{ github.sha }} + run: dotnet build -c ${{ env.BUILD_CONFIG }} --no-restore -p:Commit=${{ github.sha }} - name: Test working-directory: ${{ env.WORKING_DIR }} diff --git a/global.json b/global.json new file mode 100644 index 00000000..eac6ad78 --- /dev/null +++ b/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "7.0.0", + "allowPrerelease": false, + "rollForward": "latestFeature" + } +} diff --git a/src/libp2p/Directory.Build.props b/src/libp2p/Directory.Build.props index a16ec16d..754832f4 100644 --- a/src/libp2p/Directory.Build.props +++ b/src/libp2p/Directory.Build.props @@ -2,6 +2,7 @@ Debug + true