diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..03f62f9 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,16 @@ +# Basic dependabot.yml file with +# minimum configuration for two package managers + +version: 2 +updates: + # Enable version updates for cargo + - package-ecosystem: "cargo" + directory: "/" + schedule: + interval: "daily" + + # Enable version updates for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0696fde --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: Unit Test + +on: + push: + pull_request: + types: [synchronize, opened] + +env: + CARGO_TERM_COLOR: always + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - name: Run unit tests + run: | + cargo test --verbose --all-features