Merge pull request #4 from kmd-fl/release-please--branches--main--com… #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "tests" | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- '.github/**' | |
- '!.github/workflows/tests.yml' | |
push: | |
branches: | |
- "main" | |
paths-ignore: | |
- '**.md' | |
- '.github/**' | |
- '!.github/workflows/tests.yml' | |
jobs: | |
unit-tests: | |
name: "Run unit tests" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Rust toolchain | |
uses: dsherret/rust-toolchain-file@v1 | |
- name: Setup cargo-nextest | |
uses: taiki-e/install-action@nextest | |
- name: Run tests | |
run: cargo test |