* fix(ci): only run CI for PRs * fix(ci): ensure that branch is up to date * fix(ci): ensure that branch is up to date
19 lines
309 B
YAML
19 lines
309 B
YAML
---
|
|
name: "CI"
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
paths-ignore:
|
|
- '**/README.md'
|
|
jobs:
|
|
pre:
|
|
uses: ./.github/workflows/cache.yml
|
|
lint:
|
|
uses: ./.github/workflows/lint.yml
|
|
needs: [pre]
|
|
test:
|
|
uses: ./.github/workflows/test.yml
|
|
needs: [pre, lint]
|