Skip to content

Update rust.yml

Update rust.yml #2

Workflow file for this run

name: Rust
on:
push:
branches: [ "gh_actions" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check formatting
run: cargo fmt -- --check
- name: Run tests
run: cargo test --release -- --nocapture