Skip to content

chore: clean up github workflows #249

chore: clean up github workflows

chore: clean up github workflows #249

Workflow file for this run

name: Benchmark
env:
DEBUG: 'napi:*'
APP_NAME: 'rspack-sources'
MACOSX_DEPLOYMENT_TARGET: '10.13'
# https://github.com/SchrodingerZhu/snmalloc-rs
CACHE_FRIENDLY_OFFSET: 64
'on':
push:
branches:
- main
tags-ignore:
- '**'
paths-ignore:
- '**/*.md'
- LICENSE
- '**/*.gitignore'
- .editorconfig
- docs/**
pull_request: null
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: moonrepo/setup-rust@v1
- name: Run benchmark(Rust)
run: cargo bench | tee output_rust.txt
- name: Store benchmark result(Rust)
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'cargo'
output-file-path: output_rust.txt
auto-push: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-always: true