Skip to content

codecov on CI to use use_oidc #41

codecov on CI to use use_oidc

codecov on CI to use use_oidc #41

Workflow file for this run

name: Checking
on: push
permissions:
contents: read
id-token: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run linter
run: deno lint
- name: Run sanity check
run: |-
[[ "$(deno run mod.ts < tests/sample.ts.md | deno run -)" == "10" ]] && echo ok
- name: Run tests
run: |-
deno test -A --quiet --coverage
deno coverage --lcov --output=cov.lcov
deno coverage
- name: Run publish --dry-run
run: deno publish --dry-run --allow-dirty
- name: Run codecov
uses: codecov/codecov-action@v4
with:
files: ./cov.lcov
use_oidc: true