Skip to content

Commit

Permalink
Migrate to github workflow
Browse files Browse the repository at this point in the history
Migrate tests from circle ci to github workflow.

Remove circle ci mention in Readme
  • Loading branch information
psachs committed Apr 19, 2024
1 parent 3a0bbb9 commit b7ef4ae
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 b7ef4ae

Please sign in to comment.