chore: Fix benchmark CI take 2
Git is now failing checking out main (not what I've expected).
Let's try the action :D
MODIFY
.github/workflows/bench_formatter.yml
.github/workflows/bench_formatter.yml
@@ -48,7 +48,10 @@ jobs:
run: cargo bench_formatter --save-baseline pr
- name: Checkout Main Branch
- run: git checkout main
+ uses: actions/checkout@v2
+ with:
+ submodules: false
+ ref: main
- name: Run Bench on Main Branch
run: cargo bench_formatter --save-baseline main

MODIFY
.github/workflows/bench_parser.yml
.github/workflows/bench_parser.yml
@@ -47,7 +47,10 @@ jobs:
run: cargo bench_parser --save-baseline pr
- name: Checkout Main Branch
- run: git checkout main
+ uses: actions/checkout@v2
+ with:
+ submodules: false
+ ref: main
- name: Run Bench on Main Branch
run: cargo bench_parser --save-baseline main

chore: Fix benchmark CI take 2 (#2270)

Git is now failing checking out main (not what I've expected).

Let's try the action :D