Skip to content

Fix error when git add fails because .gitmodules doesn't exist #25

Fix error when git add fails because .gitmodules doesn't exist

Fix error when git add fails because .gitmodules doesn't exist #25

Workflow file for this run

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