From 919dd729506ab080c158e870d2d3c80de9a2400b Mon Sep 17 00:00:00 2001 From: zegis Date: Sun, 19 Nov 2023 13:14:06 +0100 Subject: [PATCH] Uplifted all the actions in workflow. Sonar now using java 17 --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 89e9eb5..6e3610e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,26 +14,26 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4.1.1 - name: Setup .NET uses: actions/setup-dotnet@v3.2.0 with: dotnet-version: 8.0.x - name: Setup Java JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3.13.0 with: - java-version: 1.11 + java-version: 17 - name: Restore dependencies run: dotnet restore - name: Cache SonarCloud packages - uses: actions/cache@v1 + uses: actions/cache@v3.3.2 with: path: ~\sonar\cache key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar - name: Cache SonarCloud scanner id: cache-sonar-scanner - uses: actions/cache@v1 + uses: actions/cache@v3.3.2 with: path: .\.sonar\scanner key: ${{ runner.os }}-sonar-scanner