Skip to content

Add test action

Add test action #1

Workflow file for this run

name: Run Tests
on: [push, pull_request]
jobs:
run_tests:
name: Run Tests

Check failure on line 7 in .github/workflows/run_tests.yml

View workflow run for this annotation

GitHub Actions / Run Tests

Invalid workflow file

The workflow is not valid. .github/workflows/run_tests.yml (Line: 7, Col: 9): Required property is missing: runs-on
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: cargo build
run: cargo build
- name: cargo test
run: cargo test
- name: cargo fmt
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy -- -D warnings