diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5990d9c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# 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/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1d0eca7..f6939d6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,6 +16,15 @@ jobs: - uses: actions/checkout@v4 - name: Install dependencies run: sudo apt install libasound2-dev + - name: Install Rust 1.80 + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.80.0 + override: true + components: rustfmt, clippy + - uses: LoliGothick/clippy-check@master + with: + token: ${{ secrets.GITHUB_TOKEN }} - name: Build run: cargo build --verbose - name: Run tests diff --git a/.github/workflows/bloat.yml b/.github/workflows/bloat.yml new file mode 100644 index 0000000..bd86df2 --- /dev/null +++ b/.github/workflows/bloat.yml @@ -0,0 +1,22 @@ +on: # rebuild any PRs and main branch changes + pull_request: + branches: [ main ] + push: + branches: + - main + +name: bloat + +jobs: + cargo_bloat: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - name: Run cargo bloat + uses: orf/cargo-bloat-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file