3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-11-02 05:37:51 +00:00
rust-cache/.github/workflows/install.yml
William Woodruff 495a1e25dc
ci: address lint findings, add zizmor workflow
Signed-off-by: William Woodruff <william@astral.sh>
2025-09-22 16:35:13 -04:00

30 lines
649 B
YAML

name: install
on: [push, pull_request]
permissions: {}
jobs:
install:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
name: Test `cargo install` on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- run: rustup toolchain install stable --profile minimal --no-self-update
- uses: ./
- run: cargo install cargo-deny --locked