recursive submodule by default and no delete when fixing missing inde… #29
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: Rust | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Check, Build, Test | |
strategy: { matrix: { os: [ ubuntu-latest, macos-latest, windows-latest ] } } | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: arduino/setup-task@v1 | |
with: | |
version: 3.x | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- uses: baptiste0928/cargo-install@v2 | |
with: | |
crate: txtpp | |
- run: task check | |
- run: cargo build --release | |
- run: cargo test --release |