Skip to content

Commit

Permalink
feat: lint-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
itsyoboieltr committed Jan 10, 2025
1 parent b2c5314 commit 539029c
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,9 @@ on:
merge_group:

jobs:
check-workflows:
name: Check workflows
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Download actionlint
id: download-actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/7fdc9630cc360ea1a469eed64ac6d78caeda1234/scripts/download-actionlint.bash) 1.6.23
shell: bash

- name: Check workflow files
run: ${{ steps.download-actionlint.outputs.executable }} -color
shell: bash
lint-workflows:
name: Lint workflows
uses: metamask/github-tools/.github/workflows/lint-workflows.yml@e4fef61e6ec862ab5b1ae63605a88c5e621d20ea

test-lint-shellcheck:
name: Test lint shellcheck
Expand Down Expand Up @@ -89,7 +78,7 @@ jobs:
name: All jobs completed
runs-on: ubuntu-latest
needs:
- check-workflows
- lint-workflows
- test-lint-shellcheck
- test-lint
- test-lint-changelog
Expand Down

0 comments on commit 539029c

Please sign in to comment.