Skip to content

Bump codecov/codecov-action from 3.1.0 to 4.3.1 #117

Bump codecov/codecov-action from 3.1.0 to 4.3.1

Bump codecov/codecov-action from 3.1.0 to 4.3.1 #117

Workflow file for this run

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@v3
- 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