Skip to content

Commit

Permalink
Update code coverage workflow to use node 20 actions (#3470)
Browse files Browse the repository at this point in the history
  • Loading branch information
onkarvhanumante authored Feb 12, 2024
1 parent 9693132 commit cb3fd3c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/adapter-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ 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}}
repository: ${{github.event.pull_request.head.repo.full_name}}

- name: Get adapter directories
id: get_directories
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
Expand Down Expand Up @@ -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
Expand All @@ -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')
Expand Down

0 comments on commit cb3fd3c

Please sign in to comment.