feat: Initial take on typed headers (#12) #36
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: Checks | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Setup latest deno version | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Run deno fmt | |
run: deno fmt --check | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Setup latest deno version | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Run deno lint | |
run: deno lint | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Setup latest deno version | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Run deno check main.ts | |
run: deno check main.ts | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Setup latest deno version | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Run deno test | |
run: deno test -A |