8000 ci: add GitHub Actions checks by simon-inkie · Pull Request #2 · simon-inkie/inkie-pg-read · GitHub
[go: up one dir, main page]

Skip to content
< 8000 div itemscope itemtype="http://schema.org/SoftwareSourceCode" class="">
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# CI: typecheck and the test suite, on every PR and on push to main.

name: ci

on:
pull_request:
push:
branches: [main]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install
run: bun install --frozen-lockfile

- name: Typecheck
run: bun run typecheck

- name: Test
run: bun run test
Loading
0