Skip to content

Commit fc42834

Browse files
deployment: add graphite ci-optimizations
1 parent 98554cb commit fc42834

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/blockifier_compiled_cairo.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,22 @@ concurrency:
2626
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
2727

2828
jobs:
29+
# https://graphite.com/docs/stacking-and-ci
30+
optimize_ci:
31+
runs-on: namespace-profile-small-ubuntu-24-04-amd64
32+
outputs:
33+
skip: ${{ steps.check_skip.outputs.skip }}
34+
steps:
35+
- name: Optimize CI
36+
id: check_skip
37+
uses: withgraphite/graphite-ci-action@main
38+
with:
39+
graphite_token: ${{ secrets.GRAPHITE_CI_OPTIMIZER_TOKEN }}
40+
2941
verify_cairo_file_dependencies:
3042
runs-on: namespace-profile-medium-ubuntu-24-04-amd64
43+
needs: optimize_ci
44+
if: needs.optimize_ci.outputs.skip == 'false'
3145
steps:
3246
- uses: actions/checkout@v6
3347
- uses: ./.github/actions/bootstrap

0 commit comments

Comments
 (0)