Skip to content

Commit

Permalink
Break up GHA steps into jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Haarhoff committed May 9, 2024
1 parent 05c864f commit b59b7b5
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,31 @@ name: CI

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
check:
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make typecheck

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make lint unused-exports

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

- name: Run checks
run: make check smoketest

smoketest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make smoketest

0 comments on commit b59b7b5

Please sign in to comment.