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

Commit

Permalink
Adds Rust CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
yorik committed Sep 26, 2023
1 parent a2c5f3d commit ed3eaa5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Rust CI"
on:
pull_request:

jobs:
build:
name: cargo build and test
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo build --verbose
- run: cargo test --verbose --all

formatting:
name: cargo fmt
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1

0 comments on commit ed3eaa5

Please sign in to comment.