Skip to content

Commit

Permalink
github actions to check lint&build
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaloup committed Jun 29, 2023
1 parent 3c55b54 commit 78bf8b4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint check, clippy check, cargo build

on: [push]

jobs:
build_and_test:
name: marinade-common-rs
runs-on: ubuntu-latest
steps:
- name: Install libudev-dev
run: sudo apt-get -y install libudev-dev
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: cargo fmt
run: |
cargo fmt --all --check
cargo build --locked

0 comments on commit 78bf8b4

Please sign in to comment.