Skip to content

Commit

Permalink
Enable benchmarks in metamask-extension
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardBraham committed Jan 29, 2025
1 parent 1233659 commit e500aea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/actions/setup-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ description: Setup environment
runs:
using: composite
steps:
- run: corepack enable
# If it's in a container, `corepack enable` will only run with `sudo`
# (This uses the documented way to write a ternary operator in GHA:
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#example)
- run: ${{ job.container && 'sudo' || '' }} corepack enable
shell: bash

- name: Set up Node.js
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lint-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ jobs:
shell: bash

- name: Lint workflow files
run: ${{ steps.download-actionlint.outputs.executable }} -color
# The ignore is necessary because `gha-mm-scale-set-ubuntu-22.04-amd64-med` is unknown
run: ${{ steps.download-actionlint.outputs.executable }} -color -ignore 'label ".+" is unknown'
shell: bash

0 comments on commit e500aea

Please sign in to comment.