Skip to content
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
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ updates:
directory: "/"
schedule:
interval: "monthly"
# Cargo.lock isn't tracked, so raise the minimum versions in Cargo.toml
# even when they already allow the new release
versioning-strategy: "increase"
# Update Cargo.lock, and raise a requirement in Cargo.toml only for a
# release it doesn't allow
versioning-strategy: "increase-if-necessary"
groups:
cargo:
patterns:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
persist-credentials: false

- name: Run cargo check
run: cargo check
run: cargo check --locked
test:
name: Test Suite
runs-on: ubuntu-latest
Expand All @@ -42,7 +42,7 @@ jobs:
persist-credentials: false

- name: Run cargo test with backtrace
run: cargo test -- --nocapture
run: cargo test --locked -- --nocapture
env:
RUST_BACKTRACE: 1
lints:
Expand All @@ -60,7 +60,7 @@ jobs:
run: cargo fmt --all -- --check

- name: Run cargo clippy
run: cargo clippy --all-targets --all-features
run: cargo clippy --locked --all-targets --all-features
build:
# dist builds releases on these runners, the ones its plan picks for the
# targets in dist-workspace.toml, but only when releasing. Prism is C, so
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
run: |
rustup toolchain install
rustup target add "$TARGET"
cargo build --profile dist --target "$TARGET"
cargo build --locked --profile dist --target "$TARGET"

# Only Test Suite runs Prism otherwise, and only on x86_64 Linux
- name: Run pks on a fixture
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

Expand Down
Loading
Loading