2023-07-31 22:02:24 +08:00
|
|
|
name: git-registry
|
2022-07-09 23:49:43 +08:00
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2023-07-31 22:02:24 +08:00
|
|
|
git-registry:
|
2022-07-09 23:49:43 +08:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
|
2023-08-02 16:38:22 +08:00
|
|
|
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
|
2023-07-31 21:31:10 +08:00
|
|
|
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
|
2022-07-09 23:49:43 +08:00
|
|
|
|
|
|
|
steps:
|
2022-07-16 18:38:38 +08:00
|
|
|
- uses: actions/checkout@v3
|
2022-07-09 23:49:43 +08:00
|
|
|
|
2023-07-31 21:31:10 +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
|