@@ -45,17 +45,17 @@ jobs:
45
45
fi
46
46
47
47
- name : Checkout
48
- uses : actions/checkout@v3
48
+ uses : actions/checkout@v4
49
49
with :
50
50
ref : feature/openapi-generator-sdk
51
51
52
52
- name : Setup Dotnet
53
- uses : actions/setup-dotnet@v1
53
+ uses : actions/setup-dotnet@v4
54
54
with :
55
- dotnet-version : ' 7 .0.x'
55
+ dotnet-version : ' 8 .0.x'
56
56
57
- - name : Run functional tests
58
- run : dotnet test $BW_PROJECT_TEST_NAME
57
+ - name : Run Unit Tests
58
+ run : dotnet test src/Bandwidth.Standard.Test --filter DisplayName~Bandwidth.Standard.Test.Unit
59
59
60
60
- name : Pack NuGet package
61
61
run : dotnet pack --configuration Release $BW_PROJECT_NAME -p:PackageVersion=$RELEASE_VERSION
67
67
run : dotnet nuget push $BW_PROJECT_NAME/bin/Release/*.nupkg -s $NUGET_SOURCE -k $NUGET_KEY
68
68
69
69
- name : Notify Slack of build status
70
- uses : Bandwidth/build-notify-slack-action@v1 .0.0
70
+ uses : Bandwidth/build-notify-slack-action@v2 .0.0
71
71
if : always()
72
72
with :
73
73
job-status : ${{ job.status }}
@@ -95,16 +95,16 @@ jobs:
95
95
fi
96
96
97
97
- name : Checkout
98
- uses : actions/checkout@v3
98
+ uses : actions/checkout@v4
99
99
100
100
- name : Setup Dotnet
101
- uses : actions/setup-dotnet@v1
101
+ uses : actions/setup-dotnet@v4
102
102
with :
103
- dotnet-version : ' 7.0.x'
103
+ dotnet-version : ' 8.0.x'
104
+
105
+ - name : Run Unit Tests
106
+ run : dotnet test src/Bandwidth.Standard.Test --filter DisplayName~Bandwidth.Standard.Test.Unit
104
107
105
- - name : Run functional tests
106
- run : dotnet test $BW_PROJECT_TEST_NAME
107
-
108
108
- name : Pack NuGet package
109
109
run : dotnet pack --configuration Release $BW_PROJECT_NAME -p:PackageVersion=$RELEASE_VERSION
110
110
@@ -115,7 +115,7 @@ jobs:
115
115
run : dotnet nuget push $BW_PROJECT_NAME/bin/Release/*.nupkg -s $NUGET_SOURCE -k $NUGET_KEY
116
116
117
117
- name : Notify Slack of build status
118
- uses : Bandwidth/build-notify-slack-action@v1 .0.0
118
+ uses : Bandwidth/build-notify-slack-action@v2 .0.0
119
119
if : always()
120
120
with :
121
121
job-status : ${{ job.status }}
0 commit comments