fix: decode path to avoid bypassing security checks #239
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: ci | |
on: [push, pull_request] | |
jobs: | |
oak: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: ["v1.x", canary] | |
steps: | |
- name: clone repository | |
uses: actions/checkout@v4 | |
- name: install deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: ${{ matrix.version }} | |
- name: check format | |
run: deno fmt --check | |
- name: check linting | |
run: deno lint | |
- name: run tests generating coverage | |
run: deno task test:coverage | |
- name: generate lcov | |
run: deno task coverage > cov.lcov | |
- name: upload coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
files: ./cov.lcov | |
token: ${{ secrets.CODECOV_TOKEN }} |