Skip to content

Commit

Permalink
add ci workflow and dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
semihbkgr committed Feb 10, 2024
1 parent e7d1198 commit fccf389
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2

updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: weekly
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on:
push:
pull_request:
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install toolchain
uses: dtolnay/rust-toolchain@stable

- name: Package check
run: cargo check

- name: Build
run: cargo build

- name: Lint
run: cargo clippy

- name: Test
run: cargo test

0 comments on commit fccf389

Please sign in to comment.