rust-cache/.github/workflows/git-registry.yml

32 lines
631 B
YAML
Raw Normal View History

name: git-registry
2022-07-09 23:49:43 +08:00
on: [push, pull_request]
jobs:
git-registry:
2022-07-09 23:49:43 +08:00
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
name: Test cargo "git" registry on ${{ matrix.os }}
2022-07-09 23:49:43 +08:00
runs-on: ${{ matrix.os }}
env:
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
2022-07-09 23:49:43 +08:00
steps:
- uses: actions/checkout@v4
2022-07-09 23:49:43 +08:00
- run: rustup toolchain install stable --profile minimal --no-self-update
2022-07-09 23:49:43 +08:00
- uses: ./
with:
workspaces: tests
- run: |
cargo check
cargo test
working-directory: tests