From cb3fd3cf309bdd8282ae5f5d9b05516811f60ce5 Mon Sep 17 00:00:00 2001 From: Onkar Hanumante Date: Mon, 12 Feb 2024 23:56:33 +0530 Subject: [PATCH] Update code coverage workflow to use node 20 actions (#3470) --- .github/workflows/adapter-code-coverage.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/adapter-code-coverage.yml b/.github/workflows/adapter-code-coverage.yml index b5fbd557bb7..4d5751c27f8 100644 --- a/.github/workflows/adapter-code-coverage.yml +++ b/.github/workflows/adapter-code-coverage.yml @@ -10,12 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.20.5 - name: Checkout pull request branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{github.event.pull_request.head.ref}} @@ -23,7 +23,7 @@ jobs: - name: Get adapter directories id: get_directories - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: result-encoding: string script: | @@ -68,7 +68,7 @@ jobs: rm -f -r ./* - name: Checkout coverage-preview branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: coverage-preview @@ -94,7 +94,7 @@ jobs: - name: Add coverage summary to pull request if: steps.run_coverage.outputs.coverage_dir != '' && steps.commit_coverage.outputs.remote_coverage_preview_dir != '' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const utils = require('./.github/workflows/helpers/pull-request-utils.js')