Skip to content

Commit

Permalink
Migrate to github workflows
Browse files Browse the repository at this point in the history
Remove circle ci and add github workflow instead.
  • Loading branch information
psachs committed Apr 19, 2024
1 parent 6fca4ed commit a2a16b1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 15 deletions.
14 changes: 0 additions & 14 deletions .circleci/config.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/build-and-test.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.57
components: rustfmt, clippy
- run: cargo fmt -- --check
- run: cargo build
- run: cargo test
- run: cargo clippy -- -D warnings
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[![CircleCI](https://circleci.com/gh/Sensirion/lin-bus-rs.svg?style=shield)](https://circleci.com/gh/Sensirion/lin-bus-rs)
[![Docs.rs](https://docs.rs/lin-bus/badge.svg)](https://docs.rs/lin-bus/)
# lin-bus-rs

Expand Down

0 comments on commit a2a16b1

Please sign in to comment.