This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
Exit on IRC read error (ping timeout) #272
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: '*' | |
paths: | |
- .github/workflows/ci.yaml | |
- lib/** | |
- mod.ts | |
- discord-irc.ts | |
- deno.* | |
- README.md | |
- TODO.md | |
pull_request: | |
branches: | |
- main | |
paths: | |
- .github/workflows/ci.yaml | |
- lib/** | |
- mod.ts | |
- discord-irc.ts | |
- deno.* | |
- README.md | |
- TODO.md | |
jobs: | |
lint: | |
name: Check lint and formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Check lint | |
run: deno lint | |
- name: Check format | |
run: deno fmt --check | |
- name: Check types | |
run: | | |
deno check discord-irc.ts | |
deno check mod.ts |