Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraLS3 authored Jan 6, 2025
1 parent 59bb32f commit 3bdfe98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,12 @@ jobs:
while ! mysqladmin ping -h"127.0.0.1" -P"$PORT" --silent; do
sleep 1
done
- name: 📶 Setup DNS to avoid ERR_NETWORK_CHANGED
- name: 📶 Setup to avoid ERR_NETWORK_CHANGED
run: |
sudo resolvectl dns eth0 1.1.1.1
sudo resolvectl domain eth0 "~."
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
- name: 🩺 Test
env:
MYSQL_DB: test
Expand Down Expand Up @@ -136,7 +138,7 @@ jobs:
./gradlew sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=player-analytics-plan
- name: 🩺 SonarCloud - React
if: "${{ env.SONAR_TOKEN != '' }}"
uses: SonarSource/sonarcloud-github-action@master
uses: SonarSource/sonarqube-scan-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 3bdfe98

Please sign in to comment.