Skip to content

Commit

Permalink
add github actions to fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yurisasuke committed Jan 22, 2024
1 parent b679c7e commit bb87309
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/page_available_since.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Check maximum nesting level is not exceeded
name: Check in which version a page is available
on: [pull_request]
env:
MAX_LEVELS: 7

jobs:
Check-max-levels:
check-page-availability:
runs-on: ubuntu-20.04
name: Check-menu-max-levels
name: Check version a page is available
steps:

# Checkout your code
Expand All @@ -16,7 +13,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: "Check navigation level does not exceed the defined maximum"
- name: "Generate page availability and versions"
run: |
cd scripts/navigation-levels
go run main.go --max=$MAX_LEVELS
cd scripts
python3 page_available_since.py

0 comments on commit bb87309

Please sign in to comment.