From 0e625436b50af8fc5424aa566f8b24f560765243 Mon Sep 17 00:00:00 2001 From: Guillaume Toison <86775455+gtoison@users.noreply.github.com> Date: Sat, 14 Jan 2023 20:40:41 +0000 Subject: [PATCH] build: upgrade some actions using Node12 (#707) --- .github/workflows/sonar-update-center.yml | 6 +++--- .github/workflows/sonarqube.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sonar-update-center.yml b/.github/workflows/sonar-update-center.yml index 9e725625..314515dd 100644 --- a/.github/workflows/sonar-update-center.yml +++ b/.github/workflows/sonar-update-center.yml @@ -21,14 +21,14 @@ jobs: cond: ${{ github.event_name == 'pull_request_target' }} if_true: refs/pull/${{ github.event.pull_request.number }}/merge if_false: ${{ github.ref }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ steps.condval.outputs.value }} - name: Read .nvmrc run: echo ::set-output name=NVMRC::$(cat .nvmrc) id: nvm - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: '${{ steps.nvm.outputs.NVMRC }}' cache: npm @@ -48,7 +48,7 @@ jobs: cond: ${{ github.event_name == 'pull_request_target' }} if_true: refs/pull/${{ github.event.pull_request.number }}/merge if_false: ${{ github.ref }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ steps.condval.outputs.value }} - uses: ./.github/actions/sonar-update-center diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index 93581bf1..facdafab 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -41,12 +41,12 @@ jobs: cond: ${{ github.event_name == 'pull_request_target' }} if_true: refs/pull/${{ github.event.pull_request.number }}/merge if_false: ${{ github.ref }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ steps.condval.outputs.value }} - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: 11 distribution: temurin