This is an automated email from the ASF dual-hosted git repository. aguettouche pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 0d8dc13 CI: Only use approved GitHub Actions 0d8dc13 is described below commit 0d8dc13b6723079168c905da6311fef11a077d24 Author: Brennan Ashton <bash...@brennanashton.com> AuthorDate: Tue Dec 29 11:53:05 2020 -0800 CI: Only use approved GitHub Actions --- .github/workflows/build.yml | 8 +------- .github/workflows/doc.yml | 26 +++++--------------------- .github/workflows/lint.yml | 5 ++++- 3 files changed, 10 insertions(+), 29 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8400438..db38dc9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -142,13 +142,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Docker Pull - uses: nick-invision/retry@v1 - with: - timeout_minutes: 10 - max_attempts: 3 - retry_wait_seconds: 10 - command: docker pull docker.pkg.github.com/apache/incubator-nuttx-testing/nuttx-ci-linux - + run: docker pull docker.pkg.github.com/apache/incubator-nuttx-testing/nuttx-ci-linux - name: Export NuttX Repo SHA run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV - name: Run builds diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index a3dbf2f..7565f4f 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -23,31 +23,15 @@ jobs: - uses: actions/setup-python@v2 with: python-version: '3.8' - - name: Generate requirements.txt file + - name: Generate Documentation run: | cd Documentation/ pip3 install pipenv - pipenv lock -r > requirements.txt - - uses: ammaraskar/sphinx-problem-matcher@master - - uses: ammaraskar/sphinx-action@master - with: - docs-folder: "Documentation/" + pipenv install + pipenv run make html + # This step flakes frequently so still annotate errors but dont fail the build + pipenv run make linkcheck || true - uses: actions/upload-artifact@v2 with: name: sphinx-docs path: Documentation/_build/html/ - linkcheck: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v2 - with: - python-version: '3.8' - - uses: ammaraskar/sphinx-problem-matcher@master - - name: Run linkcheck - run: | - cd Documentation/ - pip3 install pipenv - pipenv install - # This step flakes frequently so still annotate errors but dont fail the build - pipenv run make linkcheck || true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b85863d..9cd105e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,4 +9,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: 🧹 YAML Lint - uses: ibiqlik/action-yamllint@v3 + uses: github/super-linter@v3 + env: + VALIDATE_YAML: true + FILTER_REGEX_INCLUDE: .*\.github/.*