Files
schafkopf-logic/.github/workflows/ci.yml
Valentin Heiserer 552a0f0cd9
Some checks failed
CI / Build and test (windows-latest) (push) Failing after 9h1m16s
CI / Build and test (windows-latest) (pull_request) Failing after 9h0m24s
CI / Build and test (ubuntu-latest) (pull_request) Successful in 1m40s
CI / Build and test (ubuntu-latest) (push) Successful in 1m47s
CI / Build and test (Windows) (push) Has been cancelled
CI / Build and test (Windows) (pull_request) Has been cancelled
.github/workflows/ci.yml aktualisiert
2025-11-18 23:20:13 +01:00

32 lines
688 B
YAML

name: CI
on:
push:
pull_request:
jobs:
test:
name: Build and test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
if: matrix.os == 'ubuntu-latest'
- name: Cache cargo registry and git index
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build and test
run: cargo test --workspace --verbose