Skip to content

Update rust-by-gh.yml #197

Update rust-by-gh.yml

Update rust-by-gh.yml #197

Workflow file for this run

# .github/workflow/test.yml
# build the crate and run the test cases
# like cargo build; cargo test
name: Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose