Files
.github
workflows
rust.yml
.obsidian
HelloWorld
adder
branches
functions_rust
guessing_game
hello_cargo
loops
ownership
rectangles
.gitignore
Collection of Common Data Structs.md
Constants.md
Crates.md
Data Types.md
Enums.md
Error Handling.md
Generic Types Traits and Lifetimes.md
Generics.md
Hash.md
How_to_Run.md
Lifetimes.md
Modules and Use.md
Packages.md
Paths.md
Primitives.md
Project Organization.md
README.md
Reducing_Code_Duplication.md
RustBrock.code-workspace
String.md
Structures.md
Tests.md
Traits.md
Variables.md
Vector.md
Writing_Tests.md
data_types.md
ownership.md
RustBrock/.github/workflows/rust.yml
2025-01-08 15:33:09 -07:00

23 lines
324 B
YAML

name: Rust
on:
# push:
# branches: [ "master" ]
pull_request:
branches: [ "master" ]
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