mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-18 07:44:20 +01:00
30 lines
552 B
YAML
30 lines
552 B
YAML
name: Test
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
os:
|
|
required: true
|
|
type: string
|
|
additional-setup:
|
|
required: false
|
|
type: string
|
|
|
|
jobs:
|
|
run:
|
|
runs-on: ${{ inputs.os }}
|
|
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Additional Setup (if specified)
|
|
if: ${{ inputs.additional-setup != '' }}
|
|
run: ${{ inputs.additional-setup }}
|
|
|
|
- name: Rust cache
|
|
uses: Swatinem/rust-cache@v2
|
|
|
|
- name: Run Tests (Native Only)
|
|
run: cargo test
|