From dc72c62e360a8d69dd812c2f5a19d8b0037fc655 Mon Sep 17 00:00:00 2001 From: Charles Lechasseur Date: Sun, 15 Sep 2024 21:13:25 -0400 Subject: [PATCH] chore(ci): pass GITHUB_TOKEN when invoking `install-action` This will make it so if `cargo-binstall` is used, it will use the token to avoid API rate limits --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8cf1501..6f9705b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,6 +87,8 @@ jobs: uses: taiki-e/install-action@ae888b48c8777229768754549e5463ba726cb1b3 # v2.44.1 with: tool: just,cargo-hack,cargo-minimal-versions,cargo-msrv-prep + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run checks using cargo-minimal-versions run: just all_features=${{ matrix.all-features }} check-minimal @@ -137,6 +139,8 @@ jobs: uses: taiki-e/install-action@ae888b48c8777229768754549e5463ba726cb1b3 # v2.44.1 with: tool: just + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run checks run: just all_features=${{ matrix.all-features }} check @@ -171,6 +175,8 @@ jobs: uses: taiki-e/install-action@ae888b48c8777229768754549e5463ba726cb1b3 # v2.44.1 with: tool: cargo-tarpaulin + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run cargo-tarpaulin uses: clechasseur/rs-cargo@34eb9ee3e4186e5c7820a54393fbf081f78bc102 # v2.0.5 @@ -225,6 +231,8 @@ jobs: uses: taiki-e/install-action@ae888b48c8777229768754549e5463ba726cb1b3 # v2.44.1 with: tool: just + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Generate doc using rustdoc run: just doc