Skip to content

Commit

Permalink
Add rust fmt to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierLemoine committed Feb 22, 2024
1 parent eadcc42 commit 9a2c10b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
name: Rust

on:
on:
push:
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
build:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Format
run: cargo fmt

0 comments on commit 9a2c10b

Please sign in to comment.