Skip to content

Commit

Permalink
feat: add gh CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bezrazli4n0 committed Jan 13, 2024
1 parent 57288d4 commit 9d908a4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on: [push, pull_request]

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1

jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: fmt
run: cargo fmt --check --all
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: clippy
run: cargo clippy --all-targets
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: test
run: cargo test -- --nocapture --test-threads=1

0 comments on commit 9d908a4

Please sign in to comment.