Skip to content

Commit

Permalink
chore: Setup Graphite.dev for experimentation
Browse files Browse the repository at this point in the history
  • Loading branch information
altano committed Sep 1, 2024
1 parent 6eb44ed commit 96e867d
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 4 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
name: test

# As recommended by Graphite
# (https://graphite.dev/docs/github-configuration-guidelines#github-actions)
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]

# Cancel in-progress jobs for the same work
# (https://graphite.dev/docs/troubleshooting#why-are-my-actions-running-twice)
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/main' && github.sha || ''}}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"github.vscode-github-actions",
"ms-playwright.playwright",
"vitest.explorer",
"vercel.turbo-vsc"
"vercel.turbo-vsc",
"graphite.gti-vscode"
]
}
3 changes: 2 additions & 1 deletion devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"playwright-driver@1.40.0",
"sapling@latest",
"subversion@latest",
"tree@latest"
"tree@latest",
"graphite-cli@latest"
],
"env": {
"DEVBOX_COREPACK_ENABLED": "true",
Expand Down
48 changes: 48 additions & 0 deletions devbox.lock
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,54 @@
}
}
},
"graphite-cli@latest": {
"last_modified": "2024-08-27T08:49:48Z",
"resolved": "github:NixOS/nixpkgs/a6292e34000dc93d43bccf78338770c1c5ec8a99#graphite-cli",
"source": "devbox-search",
"version": "1.4.3",
"systems": {
"aarch64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/mmgx1al4vrv4i7xmsb42qzsmirby7ysy-graphite-cli-1.4.3",
"default": true
}
],
"store_path": "/nix/store/mmgx1al4vrv4i7xmsb42qzsmirby7ysy-graphite-cli-1.4.3"
},
"aarch64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/9k86l04r92n5dxi5sfbmr1hvnkwwyvk8-graphite-cli-1.4.3",
"default": true
}
],
"store_path": "/nix/store/9k86l04r92n5dxi5sfbmr1hvnkwwyvk8-graphite-cli-1.4.3"
},
"x86_64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/y5kd5i5pc9z7ida8g58a2zpgy72idgih-graphite-cli-1.4.3",
"default": true
}
],
"store_path": "/nix/store/y5kd5i5pc9z7ida8g58a2zpgy72idgih-graphite-cli-1.4.3"
},
"x86_64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/i4diamvsg64my0z7sxr20bz1dxlll1dl-graphite-cli-1.4.3",
"default": true
}
],
"store_path": "/nix/store/i4diamvsg64my0z7sxr20bz1dxlll1dl-graphite-cli-1.4.3"
}
}
},
"mercurialFull@latest": {
"last_modified": "2024-03-22T11:26:23Z",
"resolved": "github:NixOS/nixpkgs/a3ed7406349a9335cb4c2a71369b697cecd9d351#mercurialFull",
Expand Down

0 comments on commit 96e867d

Please sign in to comment.