Skip to content

Commit

Permalink
Merge branch 'NethermindEth:main' into feature/NethermindEth#41-impro…
Browse files Browse the repository at this point in the history
…ve_logging_in_ping
  • Loading branch information
chertby authored Oct 17, 2023
2 parents 3947417 + 8ff1cdf commit 45eb335
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Test

on:
pull_request:
push:
branches: [main]

jobs:
test:
Expand All @@ -19,16 +21,14 @@ jobs:

- name: Set up .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7

- name: Install dependencies
working-directory: ${{ env.WORKING_DIR }}
run: dotnet restore

- 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 }}
Expand Down
7 changes: 7 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sdk": {
"version": "7.0.0",
"allowPrerelease": false,
"rollForward": "latestFeature"
}
}
1 change: 1 addition & 0 deletions src/libp2p/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>

<PropertyGroup Label="ProductInfo">
Expand Down

0 comments on commit 45eb335

Please sign in to comment.