Skip to content

Commit d23da9c

Browse files
committed
Switch to dotnet-retest
1 parent bb31083 commit d23da9c

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,15 @@ jobs:
6464
- name: 🙏 build
6565
run: dotnet build -m:1 -bl:build.binlog
6666

67-
- name: ⚙ GNU grep
68-
if: matrix.os == 'macOS-latest'
69-
run: |
70-
brew install grep
71-
echo 'export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"' >> .bash_profile
72-
7367
- name: ⚙ azurite
7468
run: |
7569
npm install azurite
7670
npx azurite &
7771
7872
- name: 🧪 test
79-
uses: ./.github/workflows/test
73+
run: |
74+
dotnet tool update -g dotnet-retest
75+
dotnet retest -- --no-build
8076
8177
- name: 🐛 logs
8278
uses: actions/upload-artifact@v3
@@ -95,12 +91,11 @@ jobs:
9591
9692
dotnet-format:
9793
runs-on: ubuntu-latest
98-
needs: build
9994
steps:
10095
- name: 🤘 checkout
10196
uses: actions/checkout@v4
10297

10398
- name: ✓ ensure format
10499
run: |
105100
dotnet format whitespace --verify-no-changes -v:diag --exclude ~/.nuget
106-
dotnet format style --verify-no-changes -v:diag --exclude ~/.nuget
101+
dotnet format style --verify-no-changes -v:diag --exclude ~/.nuget

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
npx azurite &
3333
3434
- name: 🧪 test
35-
uses: ./.github/workflows/test
35+
run: |
36+
dotnet tool update -g dotnet-retest
37+
dotnet retest -- --no-build
3638
3739
- name: 🐛 logs
3840
uses: actions/upload-artifact@v3
@@ -53,4 +55,4 @@ jobs:
5355
if: env.SLEET_CONNECTION != ''
5456
run: |
5557
dotnet tool install -g --version 4.0.18 sleet
56-
sleet push bin --config none -f --verbose -p "SLEET_FEED_CONTAINER=nuget" -p "SLEET_FEED_CONNECTIONSTRING=${{ secrets.SLEET_CONNECTION }}" -p "SLEET_FEED_TYPE=azure" || echo "No packages found"
58+
sleet push bin --config none -f --verbose -p "SLEET_FEED_CONTAINER=nuget" -p "SLEET_FEED_CONNECTIONSTRING=${{ secrets.SLEET_CONNECTION }}" -p "SLEET_FEED_TYPE=azure" || echo "No packages found"

0 commit comments

Comments
 (0)