Skip to content

Commit

Permalink
ci: Add a step for creating a fake init file
Browse files Browse the repository at this point in the history
Add a step in the code quality check to create a fake init file, so it
won't clippy won't bail out.

Signed-off-by: Sergio Lopez <slp@redhat.com>
  • Loading branch information
slp committed Sep 3, 2020
1 parent 0ebce99 commit 481fc25
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/code_quality.yml
Expand Up @@ -22,7 +22,10 @@ jobs:
target: ${{ matrix.target }}
override: true
components: rustfmt, clippy


- name: Create a fake init
run: touch init/init

- name: Formatting (rustfmt)
run: cargo fmt -- --check

Expand Down

0 comments on commit 481fc25

Please sign in to comment.