Skip to content

Commit

Permalink
Merge pull request #1 from lapla-cogito/ci
Browse files Browse the repository at this point in the history
Add CI
  • Loading branch information
lapla-cogito authored Feb 13, 2024
2 parents da34df0 + c70d570 commit 7edb1e0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI for cattleya

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]

jobs:
cargo-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust-toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Run clippy
uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-review'
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: cargo test

0 comments on commit 7edb1e0

Please sign in to comment.