docs: update examples #5
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 Lint Fmt | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
deno-ci: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the code | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# Set up Deno | |
- name: Set up Deno | |
uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
# Test the project | |
- name: Run tests | |
run: deno test | |
# Format check | |
- name: Check formatting | |
run: deno fmt --check | |
# Lint check | |
- name: Lint code | |
run: deno lint |