ci: pull in rustic manually for now #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- "**/*.md" | |
- "docs/**/*" | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "**/*.md" | |
- "docs/**/*" | |
name: Tests | |
jobs: | |
test: | |
name: Test | |
runs-on: ${{ matrix.job.os }} | |
strategy: | |
matrix: | |
rust: [stable] | |
job: | |
- os: macos-latest | |
- os: ubuntu-latest | |
- os: windows-latest | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- uses: Swatinem/rust-cache@e207df5d269b42b69c8bc5101da26f7d31feddb4 # v2 | |
# TODO!: Remove cloning rustic_core when released | |
- run: | | |
git clone https://github.com/rustic-rs/rustic.git | |
mv rustic/crates/rustic_core ../rustic_core | |
- uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1 | |
with: | |
command: test | |
args: -r --all-targets --all-features --workspace |