@@ -17,14 +17,24 @@ jobs:
1717 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1818 strategy :
1919 matrix :
20- service : [apollo_server, caliban, netflix_dgs, gqlgen, tailcall, async_graphql, hasura, graphql_jit]
20+ service :
21+ [
22+ apollo_server,
23+ caliban,
24+ netflix_dgs,
25+ gqlgen,
26+ tailcall,
27+ async_graphql,
28+ hasura,
29+ graphql_jit,
30+ ]
2131 steps :
2232 - name : Checkout (GitHub)
2333 uses : actions/checkout@v4
2434 with :
2535 token : ${{ secrets.GITHUB_TOKEN }}
2636 ref : ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.sha }}
27-
37+
2838 - name : Build devcontainer and run setup and benchmark
2939 uses : devcontainers/ci@v0.3
3040 with :
@@ -37,27 +47,26 @@ jobs:
3747 - name : List benchmark files
3848 run : |
3949 ls -la bench*.txt || echo "No matching files found"
40-
50+
4151 - name : Upload benchmark results
4252 uses : actions/upload-artifact@v3
4353 with :
4454 name : benchmark-results
4555 path : bench*.txt
4656
47-
4857 analyze :
4958 needs : build
5059 runs-on : benchmarking-runner
5160 steps :
5261 - name : Checkout (GitHub)
5362 uses : actions/checkout@v4
54-
63+
5564 - name : Download all benchmark results
5665 uses : actions/download-artifact@v3
5766 with :
5867 name : benchmark-results
5968 path : .
60-
69+
6170 - name : List downloaded artifacts
6271 run : ls -la bench*.txt || echo "No matching files found"
6372
@@ -67,19 +76,19 @@ jobs:
6776
6877 - name : Print benchmark results
6978 run : cat ./results.md
70-
79+
7180 - name : Comment benchmark results on PR
7281 if : github.event_name == 'pull_request_target'
7382 uses : peter-evans/commit-comment@v3
7483 with :
7584 sha : ${{ github.event.pull_request.head.sha }}
7685 body-path : " results.md"
7786 reactions : eyes
78-
87+
7988 - name : Commit and push changes (on main branch)
8089 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
8190 uses : stefanzweifel/git-auto-commit-action@v5
8291 with :
8392 branch : main
8493 commit_author : Author <actions@github.com>
85- commit_message : " Update performance results in README.md"
94+ commit_message : " [ci skip] update performance results in README.md"
0 commit comments