-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aggregates essential checks in a single GHA (#6)
- Loading branch information
1 parent
79e92fd
commit 2bd82f4
Showing
4 changed files
with
15 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,7 @@ jobs: | |
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
||
- name: Component tests for Bash Linter | ||
uses: ./checks/bash | ||
|
||
- name: Component tests for license enforcer | ||
uses: ./checks/licenses | ||
- name: Component tests for essential checks | ||
uses: ./essentials | ||
with: | ||
file-patterns: "*.sh" | ||
|
||
- name: Component tests for Docs Linter | ||
uses: ./checks/docs |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: "license-enforcer" | ||
description: "Enforces open-source license in source files" | ||
name: "docs-linter" | ||
description: "Standardize documentation and prose with different linters" | ||
|
||
inputs: | ||
file-patterns: | ||
|
@@ -14,6 +14,17 @@ inputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- name: Check typos everywhere | ||
uses: crate-ci/[email protected] | ||
|
||
- name: Lint documentation | ||
shell: bash | ||
run: ./src/docs-linter.sh $GITHUB_WORKSPACE | ||
|
||
- name: Lint Bash Scripts | ||
shell: bash | ||
run: ./src/bash-linter.sh $GITHUB_WORKSPACE | ||
|
||
- name: Check licenses on source files | ||
shell: bash | ||
run: ./src/license-enforcer.sh $GITHUB_WORKSPACE ${{ inputs.file-patterns }} ${{ inputs.license }} |