pod2/.github/workflows/tests.yml
Rob Knight d6c4d9e943
Try actions-rust-lang/setup-rust-toolchain for possibly faster test b… (#364)
* Try actions-rust-lang/setup-rust-toolchain for possibly faster test builds

* Use toolchain from toml file

* Use the same action for the build job
2025-07-29 10:21:13 -07:00

20 lines
440 B
YAML

name: Rust Tests
on:
pull_request:
branches: [ main ]
types: [ready_for_review, opened, synchronize, reopened]
push:
branches: [ main ]
jobs:
test:
if: github.event.pull_request.draft == false
name: Rust tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Run tests
run: cargo test --release