2121 rustup component add rustfmt rust-src
2222 rustup default stable
2323 - name : Cache cargo
24- uses : actions/cache@v3
24+ uses : actions/cache@v4
2525 with :
2626 path : |
2727 ~/.cargo/bin/
@@ -36,10 +36,10 @@ jobs:
3636
3737 steps :
3838 - name : Checkout repository
39- uses : actions/checkout@v3
39+ uses : actions/checkout@v4
4040
4141 - name : Restore cargo cache
42- uses : actions/cache@v3
42+ uses : actions/cache@v4
4343 with :
4444 path : |
4545 ~/.cargo/bin/
5252 run : cargo xtask metrics build
5353
5454 - name : Cache target
55- uses : actions/cache@v3
55+ uses : actions/cache@v4
5656 with :
5757 path : target/
5858 key : ${{ runner.os }}-target-${{ github.sha }}
@@ -67,16 +67,16 @@ jobs:
6767 other_metrics :
6868 strategy :
6969 matrix :
70- names : [self, rustc_tests, ripgrep-13.0.0, webrender-2022, diesel-1.4.8, hyper-0.14.18]
70+ names : [self, ripgrep-13.0.0, webrender-2022, diesel-1.4.8, hyper-0.14.18]
7171 runs-on : ubuntu-latest
7272 needs : [setup_cargo, build_metrics]
7373
7474 steps :
7575 - name : Checkout repository
76- uses : actions/checkout@v3
76+ uses : actions/checkout@v4
7777
7878 - name : Restore cargo cache
79- uses : actions/cache@v3
79+ uses : actions/cache@v4
8080 with :
8181 path : |
8282 ~/.cargo/bin/
8686 key : ${{ runner.os }}-cargo-${{ github.sha }}
8787
8888 - name : Restore target cache
89- uses : actions/cache@v3
89+ uses : actions/cache@v4
9090 with :
9191 path : target/
9292 key : ${{ runner.os }}-target-${{ github.sha }}
@@ -106,7 +106,7 @@ jobs:
106106 needs : [build_metrics, other_metrics]
107107 steps :
108108 - name : Checkout repository
109- uses : actions/checkout@v3
109+ uses : actions/checkout@v4
110110
111111 - name : Download build metrics
112112 uses : actions/download-artifact@v3
@@ -118,11 +118,6 @@ jobs:
118118 with :
119119 name : self-${{ github.sha }}
120120
121- - name : Download rustc_tests metrics
122- uses : actions/download-artifact@v3
123- with :
124- name : rustc_tests-${{ github.sha }}
125-
126121 - name : Download ripgrep-13.0.0 metrics
127122 uses : actions/download-artifact@v3
128123 with :
@@ -151,7 +146,7 @@ jobs:
151146 chmod 700 ~/.ssh
152147
153148 git clone --depth 1 git@github.com:rust-analyzer/metrics.git
154- 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
149+ 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
155150 cd metrics
156151 git add .
157152 git -c user.name=Bot -c user.email=dummy@example.com commit --message 📈
0 commit comments