Skip to content
Merged
Show file tree
Hide file tree
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
42 changes: 0 additions & 42 deletions .github/actions/checks-lane/action.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/changeset-check.yml

This file was deleted.

19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,19 @@ concurrency:
cancel-in-progress: true

jobs:
# Lint, typecheck, build with attw, and the test jobs the planner packs from
# recorded timings. Each phase runs .github/actions/checks-lane.
# A pull request runs the affected lint, typecheck and build, then attw; a Mergify queue draft and main run the
# whole workspace and its tests. One job, so the runner and Nix setup are paid once.
checks:
permissions:
contents: read
actions: read
uses: systemfsoftware/systemfsoftware/.github/workflows/reusable-checks.yml@b146694efe1139948c03bd9e9e366c725252c0d1
uses: systemfsoftware/systemfsoftware/.github/workflows/reusable-ci.yml@6c79f6181556f62358795912ed5f905da8fffd47
with:
lanes: '[{"id": "lint", "name": "lint", "timeout-minutes": 10, "run": "pnpm lint"}, {"id": "typecheck", "name": "typecheck", "timeout-minutes": 10, "run": "pnpm typecheck"}, {"id": "build", "name": "build · attw", "timeout-minutes": 10, "run": "pnpm build && pnpm --filter @systemfsoftware/api-extractor attw"}]'
timeout-minutes: 10
max-seconds: 600
plan-timeout-minutes: 10
commitlint: false
changeset: true
fast: export TURBO_SCM_BASE="$BASE" TURBO_SCM_HEAD="$HEAD" && pnpm exec turbo run lint typecheck build --affected && PATH="$(nix build --no-link --print-out-paths .#attw)/bin:$PATH" pnpm --filter @systemfsoftware/api-extractor attw
full: pnpm lint && pnpm typecheck && pnpm build && PATH="$(nix build --no-link --print-out-paths .#attw)/bin:$PATH" pnpm --filter @systemfsoftware/api-extractor attw && pnpm test

host-bytes:
name: Output bytes on ${{ matrix.arch }}
if: github.event_name == 'push'
strategy:
matrix:
include:
Expand Down Expand Up @@ -59,6 +57,7 @@ jobs:

host-compare:
name: Same bytes on every host
if: github.event_name == 'push'
needs: host-bytes
runs-on: ubuntu-latest
timeout-minutes: 5
Expand Down
18 changes: 4 additions & 14 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,10 @@ queue_rules:
- dependabot-update-type = version-update:semver-patch
- dependabot-update-type = version-update:semver-minor
- "title ~= (?i)\\bthe [a-z0-9@/._-]*(minor|patch)[a-z0-9@/._-]* group\\b"
- check-success = checks / the gate
- or:
- check-success = check / a publishable-package change needs an intent
- check-skipped = check / a publishable-package change needs an intent
- check-success = Same bytes on every host
- check-success = checks / check
# Checked on Mergify's queue draft PR (mergify/merge-queue/*), i.e. CI on the PR rebased with main and any batch.
merge_conditions:
- check-success = checks / the gate
- check-success = Same bytes on every host
- check-success = checks / check

- name: default
# Checked on the PR itself before it enters the queue.
Expand All @@ -51,12 +46,7 @@ queue_rules:
- dependabot-update-type = version-update:semver-patch
- dependabot-update-type = version-update:semver-minor
- "title ~= (?i)\\bthe [a-z0-9@/._-]*(minor|patch)[a-z0-9@/._-]* group\\b"
- check-success = checks / the gate
- or:
- check-success = check / a publishable-package change needs an intent
- check-skipped = check / a publishable-package change needs an intent
- check-success = Same bytes on every host
- check-success = checks / check
# Checked on Mergify's queue draft PR (mergify/merge-queue/*), i.e. CI on the PR rebased with main and any batch.
merge_conditions:
- check-success = checks / the gate
- check-success = Same bytes on every host
- check-success = checks / check
Loading