Bump codecov/codecov-action from 4.3.1 to 4.4.1 (#45) #124
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deno | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
deno: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# we test on both most recent stable version of deno (v1.x) as well as | |
# the version of deno used by Run on Slack (v1.31.1) | |
deno-version: [v1.x, v1.31.1] | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v4 | |
- name: Setup Deno ${{ matrix.deno-version }} | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: ${{ matrix.deno-version }} | |
- name: Run tests | |
run: deno task test | |
- name: Generate CodeCov-friendly coverage report | |
run: deno task coverage | |
- name: Upload coverage to CodeCov | |
if: ${{ matrix.deno-version == 'v1.x' }} | |
uses: codecov/[email protected] | |
with: | |
file: ./lcov.info |