]> git.lizzy.rs Git - rust.git/blobdiff - .github/workflows/metrics.yaml
Merge #8666
[rust.git] / .github / workflows / metrics.yaml
index 4974867f639ff12299b705d590ff62672ad19186..d189ce9c901d2fe958bcc5b574590db8c45f2945 100644 (file)
@@ -7,7 +7,7 @@ on:
 env:
   CARGO_INCREMENTAL: 0
   CARGO_NET_RETRY: 10
-  RUSTFLAGS: -D warnings
+  RUSTFLAGS: "-D warnings -W unreachable-pub"
   RUSTUP_MAX_RETRIES: 10
 
 jobs:
@@ -18,12 +18,6 @@ jobs:
     - name: Checkout repository
       uses: actions/checkout@v2
 
-    - name: Checkout metrics repository
-      uses: actions/checkout@v2
-      with:
-        repository: "rust-analyzer/metrics"
-        path: "target/metrics"
-
     - name: Install Rust toolchain
       uses: actions-rs/toolchain@v1
       with:
@@ -35,4 +29,4 @@ jobs:
     - name: Collect metrics
       run: cargo xtask metrics
       env:
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        METRICS_TOKEN: ${{ secrets.METRICS_TOKEN }}