Create rust.yml

i have no clue what i'm doing
This commit is contained in:
Mark
2023-04-30 21:41:34 +02:00
committed by GitHub
parent a36002b11d
commit 657f282006

22
.github/workflows/rust.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose