Be more clear about using custom context types #2604
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: Check | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: ["opened", "edited", "synchronize"] | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@main | |
with: | |
deno-version: "v2.x" | |
- name: Check Formatting | |
run: deno fmt --check | |
working-directory: site/ | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@main | |
with: | |
deno-version: "v2.x" | |
- name: Check Linting | |
working-directory: ./site | |
run: deno task lint | |
links: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@main | |
with: | |
deno-version: "v2.x" | |
- name: Check Links | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: deno task genapi && deno task links:check | |
working-directory: site/ |