-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ace88a4
commit 6186326
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
env: | ||
# The NAME makes it easier to copy/paste snippets from other CI configs | ||
NAME: yapall | ||
CACHE_VERSION: 1 | ||
|
||
jobs: | ||
doc: | ||
|
@@ -67,6 +68,8 @@ jobs: | |
rustup update | ||
rustup component add clippy | ||
- uses: Swatinem/[email protected] | ||
with: | ||
prefix-key: ${{ env.CACHE_VERSION }} | ||
- name: Lint | ||
run: cargo clippy -- --deny warnings | ||
|
||
|
@@ -78,6 +81,8 @@ jobs: | |
with: | ||
version: "14.0" | ||
- uses: Swatinem/[email protected] | ||
with: | ||
prefix-key: ${{ env.CACHE_VERSION }} | ||
- run: env RUSTFLAGS="@$PWD/rustc-flags" cargo test --locked --no-run | ||
# TODO(#4) | ||
# - run: env RUSTFLAGS="@$PWD/rustc-flags" cargo test |