chore: Update Deno version to v1.43.x in GitHub workflows #46
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: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
linting: | |
name: Testing | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: denoland/[email protected] | |
with: | |
deno-version: v1.43.x # Run with latest stable Deno. | |
- name: Run Tests | |
run: deno test --allow-all --coverage=cov/ | |
- name: Generate coverage report | |
run: deno coverage --lcov cov > cov.lcov | |
- name: Upload coverage to Coveralls.io | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} # Generated by GitHub. | |
path-to-lcov: cov.lcov |