Skip to content

Commit

Permalink
Update Github actions yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidmonis authored Sep 30, 2024
1 parent 9aaa37a commit 027dc68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Add host.docker.internal to /etc/hosts
run: |
HOST_IP=$(ip route | awk 'NR==1 {print $3}')
echo "$HOST_IP host.docker.internal" | sudo tee -a /etc/hosts
- name: Test
run: dotnet test --no-build --verbosity normal

0 comments on commit 027dc68

Please sign in to comment.