This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
chore(deps): update dependency https://deno.land/std to v0.216.0 #258
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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 300 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: '1.28.1' | |
- name: Run fmt | |
run: | | |
deno fmt --check | |
- name: Run lint | |
run: | | |
deno lint | |
- name: deno task test | |
run: | | |
deno task test --coverage=coverage | |
deno coverage coverage --lcov --output=cov_profile.lcov | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
file: ./cov_profile.lcov | |
fail_ci_if_error: false | |
verbose: true |