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

Update semgrep.yml #32

Merged
merged 3 commits into from
Sep 28, 2024
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
11 changes: 5 additions & 6 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

on:
pull_request: {}
workflow_dispatch: {}
Expand All @@ -8,18 +7,18 @@ on:
- master
schedule:
- cron: '0 0 * * *'
name: Semgrep config
name: Semgrep
jobs:
semgrep:
name: semgrep/ci
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
SEMGREP_URL: https://cloudflare.semgrep.dev
SEMGREP_APP_URL: https://cloudflare.semgrep.dev
SEMGREP_VERSION_CHECK_URL: https://cloudflare.semgrep.dev/api/check-version
container:
image: returntocorp/semgrep
image: semgrep/semgrep
steps:
- uses: actions/checkout@v3
- run: semgrep ci
- uses: actions/checkout@v4
- run: semgrep ci --verbose
1 change: 1 addition & 0 deletions .semgrepignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.github/
2 changes: 0 additions & 2 deletions bench/curves/ec.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ export function bench(): Benchmark.Suite {
p2 = p.dbl()
const json = writeJson(Group.Point, p),
bytes = p.toBytes()
console.log(`Point json size ${group.name}:`, json.length)
console.log(`Point bytes size ${group.name}:`, bytes.length)

suite
.add(`${group.name}/ec/add`, () => {
Expand Down