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
14 changes: 7 additions & 7 deletions .depot/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Changes made:
# - Changed GitHub runs-on labels to their Depot equivalents

name: CI
name: ci
on:
pull_request:
push:
Expand All @@ -14,7 +14,7 @@ permissions:
contents: read
jobs:
changes:
name: Changed Paths
name: 01-changed-paths
runs-on: depot-ubuntu-24.04
outputs:
inspect: ${{ steps.scope.outputs.inspect }}
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
echo "sync=${sync}" >> "$GITHUB_OUTPUT"

fmt:
name: Rustfmt
name: 02-rustfmt
runs-on: depot-ubuntu-24.04 # was: ubuntu-24.04. Mapped standard GitHub runner to Depot equivalent.
steps:
- uses: actions/checkout@v4
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Run rustfmt
run: cargo fmt --all --check
clippy-inspect:
name: Clippy / Inspect
name: 03-clippy-inspect
needs: changes
if: needs.changes.outputs.inspect == 'true'
runs-on: depot-ubuntu-24.04
Expand All @@ -80,7 +80,7 @@ jobs:
- name: Run clippy
run: depot cargo clippy -p convex-sync-core -p convex-inspect --all-targets --all-features -- -D warnings
test-inspect:
name: Test / Inspect
name: 04-test-inspect
needs: changes
if: needs.changes.outputs.inspect == 'true'
runs-on: depot-ubuntu-24.04
Expand All @@ -95,7 +95,7 @@ jobs:
- name: Run tests
run: depot cargo test -p convex-sync-core -p convex-inspect
clippy-sync:
name: Clippy / Sync
name: 05-clippy-sync
needs: changes
if: needs.changes.outputs.sync == 'true'
runs-on: depot-ubuntu-latest-4
Expand All @@ -112,7 +112,7 @@ jobs:
- name: Run clippy
run: depot cargo clippy -p convex-export-s3 -p convex-sync --all-targets --all-features -- -D warnings
test-sync:
name: Test / Sync
name: 06-test-sync
needs: changes
if: needs.changes.outputs.sync == 'true'
runs-on: depot-ubuntu-latest-4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/semantic-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Semantic PR Title
name: semantic-pr

on:
pull_request_target:
Expand All @@ -13,7 +13,7 @@ permissions:

jobs:
semantic-pr:
name: semantic-pr/title
name: 01-title
runs-on: ubuntu-24.04
if: github.actor != 'dependabot[bot]'
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Semgrep
name: semgrep

on:
pull_request:
Expand All @@ -12,7 +12,7 @@ permissions:

jobs:
semgrep:
name: semgrep-oss/scan
name: 01-semgrep-oss-scan
runs-on: ubuntu-24.04
container:
image: semgrep/semgrep
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ Local:
Remote:

- `.depot/workflows/ci.yml` runs:
- `Rustfmt`
- `Changed Paths`
- `Clippy / Inspect`
- `Test / Inspect`
- `Clippy / Sync`
- `Test / Sync`
- `02-rustfmt`
- `01-changed-paths`
- `03-clippy-inspect`
- `04-test-inspect`
- `05-clippy-sync`
- `06-test-sync`
- `.depot/workflows/release.yml` creates stable release PRs and publishes CLI archives
- `.depot/workflows/release-rc.yml` publishes numbered prerelease archives from `main`
- `.github/workflows/semantic-pr.yml` enforces conventional PR titles so stable releases can be created automatically from merged PRs
Expand Down
Loading