stoopid pt.2
Some checks failed
Run Cargo Tests / test (push) Failing after 8s

This commit is contained in:
xqtc161 2024-07-11 12:29:23 +02:00
parent ea871d0763
commit 85d3b85823

View file

@ -1,4 +1,4 @@
name: Rust Library Tests
name: Run Cargo Tests
on:
push:
@ -16,28 +16,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
- name: Set up Docker container
uses: addnab/docker-run-action@v3
with:
toolchain: stable
override: true
- name: Cache cargo registry
uses: actions/cache@v2
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-
- name: Cache cargo build
uses: actions/cache@v2
with:
path: target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-build-
- name: Build and test
run: cargo test --lib
image: rust:latest
options: -v ${{ github.workspace }}:/workspace
run: |
cd /workspace
cargo test --lib