Skip to content

Commit

Permalink
add ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Danite committed Sep 22, 2024
1 parent 03d185f commit ba5b577
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Integration

on:
push:
branches:
- main
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
build_and_check:
name: Rust build and checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Format
run: cargo fmt -- --check

- name: Linter
run: cargo clippy -- -D warnings

- name: Build
run: cargo build --verbose

- name: Test
run: cargo test --verbose

0 comments on commit ba5b577

Please sign in to comment.