Skip to content

Commit

Permalink
Use docker compose/ubuntu-24.04 for sonar analyzes
Browse files Browse the repository at this point in the history
  • Loading branch information
pwargulak authored Jan 30, 2025
1 parent 8aad8a8 commit a8b156f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/sonar-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build:
name: SonarCloud Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -31,11 +31,10 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build with Docker Compose
continue-on-error: true
run: |
curl -o .env -L https://raw.githubusercontent.com/OpenLMIS/openlmis-ref-distro/master/settings-sample.env
sudo chown -R $(whoami) ./
docker-compose -f docker-compose.builder.yml run builder
docker compose -f docker-compose.builder.yml run builder
cp ./build/reports/jacoco/test/jacocoTestReport.xml report.xml
rm -rf ./build
- name: Analyze
Expand Down

0 comments on commit a8b156f

Please sign in to comment.