Merge pull request #41 from Magnus167/wkflow_fix

Update GitHub Actions workflows
This commit is contained in:
Palash Tyagi 2025-05-05 02:13:07 +01:00 committed by GitHub
commit ce98d74836
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 32 deletions

View File

@ -6,7 +6,7 @@ concurrency:
on:
push:
branches: [main, update_docs_workflow]
branches: [main]
# pull_request:
# branches: [main]
workflow_dispatch:

View File

@ -1,29 +0,0 @@
name: Run benchmarks
on:
workflow_dispatch:
push:
branches:
- main
jobs:
run-benchmarks:
runs-on: self-hosted-linux
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run benchmarks
run: cargo bench --features bench
- name: Upload benchmark reports
uses: actions/upload-artifact@v4
with:
name: benchmark-reports-${{ github.sha }}
path: ./target/criterion/

View File

@ -39,8 +39,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov