Remove lint workflow and modify README generation test action with linting step

This commit is contained in:
MohamedElashri 2024-11-12 09:40:39 -05:00
parent e6706d18f5
commit e3684f0002
No known key found for this signature in database
2 changed files with 7 additions and 18 deletions

View File

@ -1,17 +0,0 @@
name: Awesome Lint CI
on:
push:
branches: ['main']
pull_request:
branches: ['**']
schedule:
- cron: "0 7 * * *"
jobs:
Awesome_Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run Awesome Lint
run: npx awesome-lint

View File

@ -1,19 +1,25 @@
name: Test README Generation
on:
pull_request:
branches: ['**']
paths:
- '_README.md'
workflow_dispatch:
jobs:
test-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Generate README.md (Test Only)
run: |
python3 generate_readme.py _README.md > README.md
- name: Show README.md output
run: |
cat README.md
- name: Run Awesome Lint on Generated README
run: npx awesome-lint README.md