-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00e40fa
commit 25ef0c5
Showing
3 changed files
with
18 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,34 +12,16 @@ on: | |
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: super-linter/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
TYPESCRIPT_DEFAULT_STYLE: prettier | ||
VALIDATE_DOCKERFILE_HADOLINT: false | ||
VALIDATE_JSCPD: false | ||
VALIDATE_PYTHON_FLAKE8: false | ||
VALIDATE_PYTHON_MYPY: false | ||
uses: ./.github/workflows/lint.yml | ||
with: | ||
app_path: "hivemind-adapter" | ||
|
||
# test: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 20 | ||
# cache: "npm" | ||
# - run: npm install --force | ||
# - run: npm run test | ||
# - uses: paambaati/[email protected] | ||
# env: | ||
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
# with: | ||
# coverageCommand: npm run test:cov | ||
# test: | ||
# uses: ./.github/workflows/test.yml | ||
# with: | ||
# app_path: "./bot" | ||
# node_version: "20" | ||
# cache_dependency_path: "./bot/package-lock.json" | ||
|
||
build-push: | ||
# needs: [lint, test] | ||
|
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 |
---|---|---|
|
@@ -4,6 +4,11 @@ name: Lint Workflow | |
|
||
on: | ||
workflow_call: | ||
inputs: | ||
app_path: | ||
description: "Path to the application directory" | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
lint: | ||
|
@@ -14,11 +19,12 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Run Linter | ||
uses: super-linter/[email protected] | ||
uses: github/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
TYPESCRIPT_DEFAULT_STYLE: prettier | ||
VALIDATE_DOCKERFILE_HADOLINT: false | ||
VALIDATE_JSCPD: false | ||
VALIDATE_PYTHON_FLAKE8: false | ||
VALIDATE_PYTHON_MYPY: false | ||
FILTER_REGEX_INCLUDE: "^${{ inputs.app_path }}/" |