Skip to content

Commit

Permalink
more ci
Browse files Browse the repository at this point in the history
  • Loading branch information
adefossez committed Sep 17, 2024
1 parent 5ddcae1 commit ef8c5fe
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches: [ main, refacto ]

name: Continuous integration
name: Rust CI

jobs:
check:
Expand All @@ -24,3 +24,28 @@ jobs:
shell: bash
run: |
cargo check
- name: clippy
shell: bash
run: |
clippy -- -D warnings
- name: fmt
shell: bash
run: |
cargo fmt --all -- --check
test:
name: Test
defaults:
run:
working-directory: ./rust
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
rust: [stable]
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/rust_build
- name: check
shell: bash
run: |
cargo test

0 comments on commit ef8c5fe

Please sign in to comment.