Skip to content

Commit

Permalink
add .github folder
Browse files Browse the repository at this point in the history
includes
- CI workflow
- funding info
- dependabot config
  • Loading branch information
2bndy5 committed Jul 9, 2024
1 parent 573bce7 commit b6e3136
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: 2bndy5
23 changes: 23 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: "weekly"
groups:
actions:
patterns:
- "*"
- package-ecosystem: cargo
directory: /
schedule:
interval: "daily"
groups:
cargo:
patterns:
- "*"
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: build and test CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- run: cargo build
- run: cargo check
- run: cargo fmt
- run: cargo doc --no-deps
- name: save docs as artifact
uses: actions/upload-artifact@v4
with:
name: rf24-rs docs
path: target/doc

0 comments on commit b6e3136

Please sign in to comment.