Skip to content

Update ci version

Update ci version #67

Workflow file for this run

# GitHub actions
# https://docs.github.com/en/free-pro-team@latest/actions
name: ci-test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
deno-version: [1.44.4]
steps:
- name: Git Checkout Deno Module
uses: actions/checkout@v3
- name: Use Deno Version ${{ matrix.deno-version }}
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}
- name: lint & test
run: deno fmt --check
run: deno lint

Check failure on line 26 in .github/workflows/ci-test.yml

View workflow run for this annotation

GitHub Actions / ci-test

Invalid workflow file

The workflow is not valid. .github/workflows/ci-test.yml (Line: 26, Col: 9): 'run' is already defined .github/workflows/ci-test.yml (Line: 27, Col: 9): 'run' is already defined
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 }}
path-to-lcov: cov.lcov