From 48eafc546ff68f81fd57ac77b27c7d3742c36e3d Mon Sep 17 00:00:00 2001 From: azzamsa Date: Fri, 4 Nov 2022 00:03:53 +0700 Subject: [PATCH] ci: Use pre-compiled binaries for faster CI --- .github/workflows/manual_benchmarks.yml | 4 +++- .github/workflows/push_benchmarks_indexing.yml | 4 +++- .github/workflows/push_benchmarks_search_geo.yml | 4 +++- .github/workflows/push_benchmarks_search_songs.yml | 4 +++- .github/workflows/push_benchmarks_search_wiki.yml | 4 +++- .github/workflows/update-cargo-toml-version.yml | 6 ++++-- 6 files changed, 19 insertions(+), 7 deletions(-) diff --git a/.github/workflows/manual_benchmarks.yml b/.github/workflows/manual_benchmarks.yml index d85a6c07b..e7cbfe68b 100644 --- a/.github/workflows/manual_benchmarks.yml +++ b/.github/workflows/manual_benchmarks.yml @@ -50,7 +50,9 @@ jobs: # Generate critcmp files - name: Install critcmp - run: cargo install critcmp + uses: taiki-e/install-action@v1 + with: + tool: critcmp - name: Export cripcmp file run: | critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json diff --git a/.github/workflows/push_benchmarks_indexing.yml b/.github/workflows/push_benchmarks_indexing.yml index c53de93da..1011f2461 100644 --- a/.github/workflows/push_benchmarks_indexing.yml +++ b/.github/workflows/push_benchmarks_indexing.yml @@ -48,7 +48,9 @@ jobs: # Generate critcmp files - name: Install critcmp - run: cargo install critcmp + uses: taiki-e/install-action@v1 + with: + tool: critcmp - name: Export cripcmp file run: | critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json diff --git a/.github/workflows/push_benchmarks_search_geo.yml b/.github/workflows/push_benchmarks_search_geo.yml index 8a79ce14d..7aa98ca58 100644 --- a/.github/workflows/push_benchmarks_search_geo.yml +++ b/.github/workflows/push_benchmarks_search_geo.yml @@ -47,7 +47,9 @@ jobs: # Generate critcmp files - name: Install critcmp - run: cargo install critcmp + uses: taiki-e/install-action@v1 + with: + tool: critcmp - name: Export cripcmp file run: | critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json diff --git a/.github/workflows/push_benchmarks_search_songs.yml b/.github/workflows/push_benchmarks_search_songs.yml index 8e6f2de75..aa0fcacd4 100644 --- a/.github/workflows/push_benchmarks_search_songs.yml +++ b/.github/workflows/push_benchmarks_search_songs.yml @@ -47,7 +47,9 @@ jobs: # Generate critcmp files - name: Install critcmp - run: cargo install critcmp + uses: taiki-e/install-action@v1 + with: + tool: critcmp - name: Export cripcmp file run: | critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json diff --git a/.github/workflows/push_benchmarks_search_wiki.yml b/.github/workflows/push_benchmarks_search_wiki.yml index 91718b1ce..2f266941d 100644 --- a/.github/workflows/push_benchmarks_search_wiki.yml +++ b/.github/workflows/push_benchmarks_search_wiki.yml @@ -47,7 +47,9 @@ jobs: # Generate critcmp files - name: Install critcmp - run: cargo install critcmp + uses: taiki-e/install-action@v1 + with: + tool: critcmp - name: Export cripcmp file run: | critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json diff --git a/.github/workflows/update-cargo-toml-version.yml b/.github/workflows/update-cargo-toml-version.yml index 45c611c29..0854e265b 100644 --- a/.github/workflows/update-cargo-toml-version.yml +++ b/.github/workflows/update-cargo-toml-version.yml @@ -23,8 +23,10 @@ jobs: profile: minimal toolchain: stable override: true - - name: Install sd - run: cargo install sd + - name: Install critcmp + uses: taiki-e/install-action@v1 + with: + tool: sd - name: Update all Cargo.toml files run: | raw_new_version=$(echo $NEW_VERSION | cut -d 'v' -f 2)