Skip to content

Commit

Permalink
db query refactor for composability PRO-535 (#689)
Browse files Browse the repository at this point in the history
* find recoveries

* moved methods into trait

* moved identity_is_queued_for_deletion

* fix ci
  • Loading branch information
0xForerunner authored Feb 13, 2024
1 parent 326be75 commit 9b00bb7
Show file tree
Hide file tree
Showing 19 changed files with 1,410 additions and 1,562 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: Security Audit

on:
push:
branches: [ main ]
branches: [main]
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
- "**/Cargo.toml"
- "**/Cargo.lock"
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC
- cron: "0 2 * * *" # run at 2 AM UTC

env:
RUST_VERSION: 1.65
RUST_VERSION: 1.74

jobs:
security-audit:
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ on:
branches:
- main
pull_request:
types: [opened,synchronize,reopened]
types: [opened, synchronize, reopened]
branches:
- main

env:
RUST_VERSION: "1.74.0-nightly"
NIGHTLY_VERSION: nightly-2023-08-29
RUST_VERSION: "1.78.0-nightly"
NIGHTLY_VERSION: nightly-2024-02-05
CARGO_TERM_COLOR: always
# Skip incremental build and debug info generation in CI
CARGO_INCREMENTAL: 0
Expand Down Expand Up @@ -111,16 +111,16 @@ jobs:
env:
CARGO_VET_VERSION: 0.8.0
steps:
- uses: actions/checkout@master
- name: Install Rust
run: rustup update stable && rustup default stable
- uses: actions/cache@v3
with:
path: ${{ runner.tool_cache }}/cargo-vet
key: cargo-vet-bin-${{ env.CARGO_VET_VERSION }}
- name: Add the tool cache directory to the search path
run: echo "${{ runner.tool_cache }}/cargo-vet/bin" >> $GITHUB_PATH
- name: Ensure that the tool cache is populated with the cargo-vet binary
run: cargo install --root ${{ runner.tool_cache }}/cargo-vet --version ${{ env.CARGO_VET_VERSION }} cargo-vet
- name: Invoke cargo-vet
run: cargo vet --locked
- uses: actions/checkout@master
- name: Install Rust
run: rustup update stable && rustup default stable
- uses: actions/cache@v3
with:
path: ${{ runner.tool_cache }}/cargo-vet
key: cargo-vet-bin-${{ env.CARGO_VET_VERSION }}
- name: Add the tool cache directory to the search path
run: echo "${{ runner.tool_cache }}/cargo-vet/bin" >> $GITHUB_PATH
- name: Ensure that the tool cache is populated with the cargo-vet binary
run: cargo install --root ${{ runner.tool_cache }}/cargo-vet --version ${{ env.CARGO_VET_VERSION }} cargo-vet
- name: Invoke cargo-vet
run: cargo vet --locked
Loading

0 comments on commit 9b00bb7

Please sign in to comment.