mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-27 14:03:11 -08:00
fix: CI failures due to older rustc version
This commit is contained in:
8
.github/workflows/supply-chain.yml
vendored
8
.github/workflows/supply-chain.yml
vendored
@@ -28,6 +28,10 @@ jobs:
|
|||||||
~/.cargo/registry/cache/
|
~/.cargo/registry/cache/
|
||||||
~/.cache/cargo-supply-chain/
|
~/.cache/cargo-supply-chain/
|
||||||
key: cargo-supply-chain-cache
|
key: cargo-supply-chain-cache
|
||||||
|
- name: Install stable toolchain # Cargo-supply-chain is incompatible with older versions
|
||||||
|
run: |
|
||||||
|
rustup toolchain install stable
|
||||||
|
rustup default stable
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ runner.tool_cache }}/cargo-supply-chain
|
path: ${{ runner.tool_cache }}/cargo-supply-chain
|
||||||
@@ -35,7 +39,7 @@ jobs:
|
|||||||
- name: Add the tool cache directory to the search path
|
- name: Add the tool cache directory to the search path
|
||||||
run: echo "${{ runner.tool_cache }}/cargo-supply-chain/bin" >> $GITHUB_PATH
|
run: echo "${{ runner.tool_cache }}/cargo-supply-chain/bin" >> $GITHUB_PATH
|
||||||
- name: Ensure that the tool cache is populated with the cargo-supply-chain binary
|
- name: Ensure that the tool cache is populated with the cargo-supply-chain binary
|
||||||
run: cargo install --root ${{ runner.tool_cache }}/cargo-supply-chain cargo-supply-chain
|
run: cargo +stable install --root ${{ runner.tool_cache }}/cargo-supply-chain cargo-supply-chain
|
||||||
- name: Update data for cargo-supply-chain
|
- name: Update data for cargo-supply-chain
|
||||||
run: cargo supply-chain update
|
run: cargo supply-chain update
|
||||||
- name: Generate cargo-supply-chain report about publishers
|
- name: Generate cargo-supply-chain report about publishers
|
||||||
@@ -68,7 +72,7 @@ jobs:
|
|||||||
- name: Add the tool cache directory to the search path
|
- name: Add the tool cache directory to the search path
|
||||||
run: echo "${{ runner.tool_cache }}/cargo-vet/bin" >> $GITHUB_PATH
|
run: echo "${{ runner.tool_cache }}/cargo-vet/bin" >> $GITHUB_PATH
|
||||||
- name: Ensure that the tool cache is populated with the cargo-vet binary
|
- name: Ensure that the tool cache is populated with the cargo-vet binary
|
||||||
run: cargo install --root ${{ runner.tool_cache }}/cargo-vet cargo-vet
|
run: cargo +stable install --root ${{ runner.tool_cache }}/cargo-vet cargo-vet
|
||||||
- name: Regenerate vet exemptions for dependabot PRs
|
- name: Regenerate vet exemptions for dependabot PRs
|
||||||
if: github.actor == 'dependabot[bot]' # Run only for Dependabot PRs
|
if: github.actor == 'dependabot[bot]' # Run only for Dependabot PRs
|
||||||
run: cargo vet regenerate exemptions
|
run: cargo vet regenerate exemptions
|
||||||
|
|||||||
Reference in New Issue
Block a user