Cleaned up a couple of Github action warnings #7327
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmarks | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
runBenchmark: | |
if: contains(github.event.pull_request.labels.*.name, 'run-benchmark') | |
name: run benchmark | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
override: true | |
profile: minimal | |
- name: Cache cargo | |
uses: actions/cache@v3 | |
with: | |
path: | | |
target | |
~/.cargo/git | |
~/.cargo/registry | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- uses: boa-dev/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branchName: ${{ github.base_ref }} | |
cwd: ./boa_engine |