Skip to content

Commit

Permalink
Add basic CI
Browse files Browse the repository at this point in the history
  • Loading branch information
brunojppb committed Jan 1, 2024
1 parent bb88c19 commit ad3adb4
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
on: [push]

name: CI Checks

jobs:
build_and_test:
name: Cargo Test
runs-on: ubuntu-latest
steps:
- name: "Git checkout"
uses: actions/checkout@v2

- name: "Rust setup"
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: "Cargo cache"
uses: Swatinem/rust-cache@v2

- name: "Add Clippy"
run: rustup component add clippy

- name: "Clippy check"
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features

- name: "cargo test"
uses: actions-rs/cargo@v1
with:
command: test

0 comments on commit ad3adb4

Please sign in to comment.