Skip to content

chore(.gitignore) no ignore target #37

chore(.gitignore) no ignore target

chore(.gitignore) no ignore target #37

Workflow file for this run

name: Test Rust Template
on:
workflow_dispatch:
push:
paths:
- template/rs/src/*.rs
- .github/workflows/test.yml
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: template/rs
steps:
- uses: actions/checkout@v3
- name: Setup toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.42.0
- name: Show toolchain info
run: cargo --version --verbose
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: Cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install cargo-nextest
uses: taiki-e/install-action@nextest
- name: Test
env: { RUST_BACKTRACE: full }
run: cargo nextest run