Skip to content

Commit

Permalink
chore: github stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
SolarLiner committed Jul 26, 2024
1 parent 413b5a6 commit 253f332
Show file tree
Hide file tree
Showing 3 changed files with 42 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 @@
# 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"
9 changes: 9 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/bloat.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 253f332

Please sign in to comment.