Skip to content

Commit 4a16ee4

Browse files
cleaner ci (#1990)
1 parent 12125c2 commit 4a16ee4

File tree

5 files changed

+30
-151
lines changed

5 files changed

+30
-151
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/case.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/lint.yml renamed to .github/workflows/ci.yml

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,47 @@
11
---
2-
name: Check for lint, spelling and link errors
2+
name: ci
33

44
on:
55
workflow_call:
6-
secrets:
7-
SEGMENT_ANALYTICS_KEY:
8-
required: true
9-
LD_CLIENT_ID:
10-
required: true
11-
SENTRY_KEY:
12-
required: true
6+
pull_request:
7+
branches:
8+
- main
9+
10+
permissions:
11+
contents: read
1312

1413
env:
1514
SEGMENT_ANALYTICS_KEY: ${{ secrets.SEGMENT_ANALYTICS_KEY }}
1615
LD_CLIENT_ID: ${{ secrets.LD_CLIENT_ID }}
17-
SENTRY_KEY: ${{ secrets.SENTRY_KEY }}
1816

1917
jobs:
18+
build:
19+
name: Build
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Build
24+
uses: ConsenSys/github-actions/docs-build@main
25+
26+
case:
27+
name: Check for case being inconsistent
28+
runs-on: ubuntu-latest
29+
strategy:
30+
matrix:
31+
folder: ['docs']
32+
steps:
33+
- uses: actions/checkout@v4
34+
- name: Case check action
35+
uses: ConsenSys/github-actions/docs-case-check@main
36+
with:
37+
DOC_DIR: ${{ matrix.folder }}
38+
SKIP_TEST: true
39+
2040
lint:
2141
name: Lint Code Base
2242
runs-on: ubuntu-latest
23-
permissions:
24-
contents: read
2543
steps:
2644
- uses: actions/checkout@v4
27-
2845
- name: Lint
2946
uses: ConsenSys/github-actions/docs-lint-all@main
3047

.github/workflows/main.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

.github/workflows/nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
with:
2424
FILE_EXTENSION: mdx
2525
MODIFIED_FILES_ONLY: no
26+
2627
linkCheckMd:
2728
needs: linkCheckMdx
2829
name: Run link check on .md files

0 commit comments

Comments
 (0)