Skip to content

Commit

Permalink
ci: try udeps github action
Browse files Browse the repository at this point in the history
  • Loading branch information
morenol committed May 18, 2021
1 parent 4a53aa3 commit a547caf
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
on: ["push", "pull_request"]

jobs:
tests:
Expand Down Expand Up @@ -69,3 +65,18 @@ jobs:
command: clippy
args: -- -D warnings -Drust-2018-idioms

udeps:
name: udeps
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- name: Run cargo-udeps
uses: aig787/cargo-udeps-action@v1
with:
version: 'latest'
args: '--all-targets'
6 changes: 5 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Coverage

on: ["push", "pull_request"]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
Expand Down

0 comments on commit a547caf

Please sign in to comment.