Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

[feature] #224: Ursa bump to edition 2021 and trivial dependencies #225

Merged
merged 2 commits into from
Apr 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,42 @@ jobs:
workdir: [ ".", "./libursa" ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Build
working-directory: ${{ matrix.workdir }}
run: cargo build --verbose
if: always()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure if someone forgot to format, and docs, and has live lints, that they use $O(n)$ rather than $O(n^2)$ CI time.


- name: Format
working-directory: ${{ matrix.workdir }}
run: cargo fmt --all -- --check
if: always()

- name: Docs
working-directory: ${{ matrix.workdir }}
run: cargo doc --no-deps
if: always()

- name: Clippy
working-directory: ${{ matrix.workdir }}
run: cargo clippy --all -- -W clippy::not_unsafe_ptr_arg_deref -A clippy::many_single_char_names
if: always()

- name: Check
working-directory: ${{ matrix.workdir }}
run: cargo check
if: always()

- name: Tests
working-directory: ${{ matrix.workdir }}
run: cargo test --release
if: always()

- name: Audit
working-directory: ${{ matrix.workdir }}
run: cargo audit
if: always()

# disabled in AZP
#
Expand Down
122 changes: 70 additions & 52 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading