Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to '.github/workflows/metrics.yaml')
-rw-r--r--.github/workflows/metrics.yaml25
1 files changed, 10 insertions, 15 deletions
diff --git a/.github/workflows/metrics.yaml b/.github/workflows/metrics.yaml
index e6a9917a0b..de61b2389a 100644
--- a/.github/workflows/metrics.yaml
+++ b/.github/workflows/metrics.yaml
@@ -21,7 +21,7 @@ jobs:
rustup component add rustfmt rust-src
rustup default stable
- name: Cache cargo
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
@@ -36,10 +36,10 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Restore cargo cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
@@ -52,7 +52,7 @@ jobs:
run: cargo xtask metrics build
- name: Cache target
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: target/
key: ${{ runner.os }}-target-${{ github.sha }}
@@ -67,16 +67,16 @@ jobs:
other_metrics:
strategy:
matrix:
- names: [self, rustc_tests, ripgrep-13.0.0, webrender-2022, diesel-1.4.8, hyper-0.14.18]
+ names: [self, ripgrep-13.0.0, webrender-2022, diesel-1.4.8, hyper-0.14.18]
runs-on: ubuntu-latest
needs: [setup_cargo, build_metrics]
steps:
- name: Checkout repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Restore cargo cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
@@ -86,7 +86,7 @@ jobs:
key: ${{ runner.os }}-cargo-${{ github.sha }}
- name: Restore target cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: target/
key: ${{ runner.os }}-target-${{ github.sha }}
@@ -106,7 +106,7 @@ jobs:
needs: [build_metrics, other_metrics]
steps:
- name: Checkout repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Download build metrics
uses: actions/download-artifact@v3
@@ -118,11 +118,6 @@ jobs:
with:
name: self-${{ github.sha }}
- - name: Download rustc_tests metrics
- uses: actions/download-artifact@v3
- with:
- name: rustc_tests-${{ github.sha }}
-
- name: Download ripgrep-13.0.0 metrics
uses: actions/download-artifact@v3
with:
@@ -151,7 +146,7 @@ jobs:
chmod 700 ~/.ssh
git clone --depth 1 [email protected]:rust-analyzer/metrics.git
- jq -s ".[0] * .[1] * .[2] * .[3] * .[4] * .[5] * .[6]" build.json self.json rustc_tests.json ripgrep-13.0.0.json webrender-2022.json diesel-1.4.8.json hyper-0.14.18.json -c >> metrics/metrics.json
+ jq -s ".[0] * .[1] * .[2] * .[3] * .[4] * .[5]" build.json self.json ripgrep-13.0.0.json webrender-2022.json diesel-1.4.8.json hyper-0.14.18.json -c >> metrics/metrics.json
cd metrics
git add .
git -c user.name=Bot -c [email protected] commit --message 📈