-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into caip25-permission-migration
- Loading branch information
Showing
14 changed files
with
338 additions
and
183 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Test lint changelog | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
test-lint-changelog: | ||
name: Test lint changelog | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup environment | ||
uses: metamask/github-tools/.github/actions/setup-environment@main | ||
|
||
- name: Validate changelog | ||
if: ${{ !startsWith(github.head_ref || github.ref_name, 'Version-v') }} | ||
run: yarn lint:changelog | ||
|
||
- name: Validate release candidate changelog | ||
if: ${{ startsWith(github.head_ref || github.ref_name, 'Version-v') }} | ||
run: .circleci/scripts/validate-changelog-in-rc.sh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Test lint lockfile | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
test-lint-lockfile: | ||
name: Test lint lockfile | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup environment | ||
uses: metamask/github-tools/.github/actions/setup-environment@main | ||
|
||
- name: Lint lockfile | ||
run: yarn lint:lockfile | ||
|
||
- name: Check yarn resolutions | ||
run: yarn --check-resolutions |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Test lint shellcheck | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
test-lint-shellcheck: | ||
name: Test lint shellcheck | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: ShellCheck Lint | ||
run: ./development/shellcheck.sh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Test lint | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
test-lint: | ||
name: Test lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup environment | ||
uses: metamask/github-tools/.github/actions/setup-environment@main | ||
|
||
- name: Lint | ||
run: yarn lint | ||
|
||
- name: Verify locales | ||
run: yarn verify-locales --quiet |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Validate lavamoat allow scripts | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
validate-lavamoat-allow-scripts: | ||
name: Validate lavamoat allow scripts | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup environment | ||
uses: metamask/github-tools/.github/actions/setup-environment@main | ||
|
||
- name: Validate allow-scripts config | ||
run: yarn allow-scripts auto | ||
|
||
- name: Check working tree | ||
run: | | ||
if ! git diff --exit-code; then | ||
echo "::error::Working tree dirty." | ||
exit 1 | ||
fi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Validate lavamoat policy build | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
validate-lavamoat-policy-build: | ||
name: Validate lavamoat policy build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup environment | ||
uses: metamask/github-tools/.github/actions/setup-environment@main | ||
|
||
- name: Validate lavamoat build policy | ||
run: yarn lavamoat:build:auto | ||
env: | ||
INFURA_PROJECT_ID: 00000000000 | ||
|
||
- name: Check working tree | ||
run: | | ||
if ! git diff --exit-code; then | ||
echo "::error::Working tree dirty." | ||
exit 1 | ||
fi |
Oops, something went wrong.