Skip to content

Commit 14c5130

Browse files
committedApr 14, 2024
Add GitHub Workflow
1 parent 57c5139 commit 14c5130

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed
 

‎.github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [randomairborne]

‎.github/dependabot.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "cargo"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "monthly"

‎.github/workflows/check.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Cargo Check
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
workflow_call:
7+
8+
jobs:
9+
check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: dtolnay/rust-toolchain@stable
15+
with:
16+
components: rustfmt, clippy
17+
18+
- name: Cache Packages
19+
uses: Swatinem/rust-cache@v2
20+
21+
- name: Check formatting
22+
run: cargo fmt --check
23+
24+
- name: Check build
25+
run: cargo clippy
26+
27+
- name: Run tests
28+
run: cargo test

0 commit comments

Comments
 (0)
Please sign in to comment.