Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying Phylum once more. #79

Merged
merged 2 commits into from
Sep 12, 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
21 changes: 21 additions & 0 deletions .github/workflows/run_dep_sec_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Phylum_analyze
on: pull_request

jobs:
analyze_deps:
name: Analyze dependencies with Phylum
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest

steps:
- name: Checkout the repo
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Analyze dependencies
uses: phylum-dev/phylum-analyze-pr-action@v2
with:
phylum_token: ${{ secrets.PHYLUM_TOKEN }}
7 changes: 7 additions & 0 deletions .phylum_project
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
id: 56a898e0-b14d-4b08-84ee-662a7d164b7e
name: deep_causality
created_at: 2023-09-12T18:34:39.348825+08:00
group_name: null
lockfiles:
- path: ./Cargo.toml
type: cargo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ use deep_causality::prelude::*;
fn get_context<'l>() -> BaseContext<'l> {
let id = 1;
let name = "base context";
Context::with_capacity(id, name, 10)
let capacity = 10; // adjust as needed
Context::with_capacity(id, name, capacity)
}

#[test]
Expand Down
Loading