adding some caching for favicons and styles #153
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: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
deno: ["canary"] | |
os: [ubuntu-latest] | |
include: | |
- os: ubuntu-latest | |
cache_path: ~/.cache/deno | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: ${{ matrix.deno }} | |
- name: Verify formatting | |
run: deno fmt --check | |
- name: Run linter | |
run: deno lint | |
- name: Check types | |
run: deno task check:types | |
- name: Run tests | |
run: deno task test |