Skip to content

Commit 1f29d1d

Browse files
authored
Merge pull request #448 from DefangLabs/eric/disable-linter
2 parents 2c4af52 + b4df769 commit 1f29d1d

File tree

2 files changed

+39
-37
lines changed

2 files changed

+39
-37
lines changed

.github/workflows/build-samples-json.yml

Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,29 @@ on:
1212
- "samples/**"
1313

1414
jobs:
15-
python-lint:
16-
runs-on: ubuntu-latest
17-
steps:
18-
- name: Checkout code
19-
uses: actions/checkout@v4
15+
# python-lint:
16+
# runs-on: ubuntu-latest
17+
# steps:
18+
# - name: Checkout code
19+
# uses: actions/checkout@v4
2020

21-
- name: Get list of changed files
22-
id: changed
23-
run: |
24-
files=$(git diff --name-only origin/${{ github.base_ref }}...${{ github.head_ref }} | grep '\.py$' || true)
25-
echo "files=$files" >> "$GITHUB_OUTPUT"
21+
# - name: Get list of changed files
22+
# id: changed
23+
# run: |
24+
# files=$(git diff --name-only origin/${{ github.base_ref }}...${{ github.head_ref }} | grep '\.py$' || true)
25+
# echo "files=$files" >> "$GITHUB_OUTPUT"
2626

27-
- name: Run Ruff linter
28-
uses: astral-sh/ruff-action@v1
29-
with:
30-
args: check
31-
src: ${{ steps.changed.outputs.files }}
27+
# - name: Run Ruff linter
28+
# uses: astral-sh/ruff-action@v1
29+
# with:
30+
# args: check
31+
# src: ${{ steps.changed.outputs.files }}
3232

33-
- name: Run Ruff formatter check
34-
uses: astral-sh/ruff-action@v1
35-
with:
36-
args: "format --check"
37-
src: ${{ steps.changed.outputs.files }}
33+
# - name: Run Ruff formatter check
34+
# uses: astral-sh/ruff-action@v1
35+
# with:
36+
# args: "format --check"
37+
# src: ${{ steps.changed.outputs.files }}
3838

3939
js-ts-lint:
4040
runs-on: ubuntu-latest
@@ -69,27 +69,28 @@ jobs:
6969
echo "No JS/TS files to format check."
7070
fi
7171
72-
go-lint:
73-
runs-on: ubuntu-latest
74-
steps:
75-
- name: Checkout code
76-
uses: actions/checkout@v4
72+
# go-lint:
73+
# runs-on: ubuntu-latest
74+
# steps:
75+
# - name: Checkout code
76+
# uses: actions/checkout@v4
7777

78-
- name: Set up Golang
79-
uses: actions/setup-go@v5
80-
with:
81-
go-version: stable
78+
# - name: Set up Golang
79+
# uses: actions/setup-go@v5
80+
# with:
81+
# go-version: stable
8282

83-
- name: Run golangci-lint
84-
uses: golangci/golangci-lint-action@v8
85-
with:
86-
args: --enable gofmt --enable goimports
87-
only-new-issues: true
88-
version: latest
83+
# - name: Run golangci-lint
84+
# uses: golangci/golangci-lint-action@v8
85+
# with:
86+
# args: --enable gofmt --enable goimports
87+
# only-new-issues: true
88+
# version: latest
8989

9090
build-json:
9191
runs-on: ubuntu-latest
92-
needs: [python-lint, js-ts-lint, go-lint]
92+
# needs: [python-lint, js-ts-lint, go-lint]
93+
needs: [js-ts-lint]
9394
steps:
9495
- name: Trigger CLI Autodoc
9596
uses: peter-evans/repository-dispatch@v1

.github/workflows/deploy-changed-samples.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy Changed Samples
33
on:
44
pull_request:
55
paths:
6-
- 'samples/**'
6+
- "samples/**"
77

88
permissions:
99
contents: read
@@ -103,6 +103,7 @@ jobs:
103103
TEST_SHARED_SECRETS: ${{ secrets.TEST_SHARED_SECRETS}}
104104
TEST_TAVILY_API_KEY: ${{ secrets.TEST_TAVILY_API_KEY }}
105105
TEST_ALLOWED_HOSTS: ${{ secrets.TEST_ALLOWED_HOSTS }}
106+
TEST_MISTRAL_API_KEY: ${{ secrets.TEST_MISTRAL_API_KEY }}
106107
run: |
107108
SAMPLES=$(sed 's|^samples/||' changed_samples.txt | paste -s -d ',' -)
108109
echo "Running tests for samples: $SAMPLES"

0 commit comments

Comments
 (0)