Skip to content

Add more context to ms rules / identity provider callbacks (#204) #170

Add more context to ms rules / identity provider callbacks (#204)

Add more context to ms rules / identity provider callbacks (#204) #170

name: Benchmarks on Merge
on:
push:
branches:
- main
jobs:
benchmark:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
deployments: write
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::881928689264:role/Github-Actions-Role
aws-region: us-east-1
- name: Run benchmark
working-directory: mls-rs
run: ( set -o pipefail; cargo bench --features benchmark_util --bench group_commit --bench group_receive_commit --bench group_application --bench group_serialize -- --output-format bencher | tee -a output.txt )
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
tool: "cargo"
output-file-path: mls-rs/output.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
comment-on-alert: false