Skip to content

Commit

Permalink
Merge pull request #29 from Sensirion/migrate-to-github-actions
Browse files Browse the repository at this point in the history
Migrate to github workflow
  • Loading branch information
psachs authored Apr 19, 2024
2 parents 3a0bbb9 + af8c740 commit a77da31
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 16 deletions.
14 changes: 0 additions & 14 deletions .circleci/config.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/check-and-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Check and build rust library

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
check-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Stable with rustfmt and clippy
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.63
components: rustfmt, clippy
- run: cargo fmt -- --check
- run: cargo build
- run: cargo test
- run: cargo clippy -- -D warnings
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# sensirion-i2c-rs
[![CircleCI][circleci-badge]][circleci]
[![Crates.io Version][crates-io-badge]][crates-io]
[![Crates.io Downloads][crates-io-download-badge]][crates-io-download]
![No Std][no-std-badge]


Rust library with common functionality for I2C based sensors from Sensirion.

[circleci]: https://circleci.com/gh/Sensirion/sensirion-i2c-rs
[circleci-badge]: https://circleci.com/gh/Sensirion/sensirion-i2c-rs.svg?style=shield
[crates-io]: https://crates.io/crates/sensirion-i2c
[crates-io-badge]: https://img.shields.io/crates/v/sensirion-i2c.svg?maxAge=3600
Expand Down

0 comments on commit a77da31

Please sign in to comment.