Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Add simple Pipeline (#5)
Browse files Browse the repository at this point in the history
* Rust pipeline

* better

* Rust pipeline

* cooler

* better naming

* fix format for github

---------

Co-authored-by: Max Oberaigner <[email protected]>
  • Loading branch information
moberer and Max Oberaigner authored Mar 13, 2024
1 parent cda65d7 commit 7d8f25b
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Rust

on: [push]

env:
CARGO_TERM_COLOR: always

jobs:
rust-check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Rust Build
run: cd rust; cargo check

rust-clippy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Rust Clippy
run: cd rust; cargo clippy

rust-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Rust Run tests
run: cd rust; cargo test

rust-fmt:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Rust Format
run: cd rust; cargo fmt

rust-build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Rust Run tests
run: cd rust; cargo build --release

0 comments on commit 7d8f25b

Please sign in to comment.