diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f464f7c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 + +updates: +- package-ecosystem: cargo + directory: "/" + schedule: + interval: weekly +- package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..acb821c --- /dev/null +++ b/.github/workflows/ci.yml @@ -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