Add workflow for cargo-bloat

This commit is contained in:
Ajeet D'Souza 2020-10-02 01:25:10 +05:30
parent a112225ece
commit 87a0161eb4

19
.github/workflows/cargo-bloat.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: cargo-bloat
on:
push:
pull_request:
jobs:
bloat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: orf/cargo-bloat-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}