You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/12/29 19:53:23 UTC
[incubator-nuttx] 01/01: CI: Only use approved GitHub Actions
This is an automated email from the ASF dual-hosted git repository.
btashton pushed a commit to branch fixci
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 5b42cf8bfee12c9a358466320e09cc40759023df
Author: Brennan Ashton <ba...@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 | 4 +++-
3 files changed, 9 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..532ef6f 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -9,4 +9,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: 🧹 YAML Lint
- uses: ibiqlik/action-yamllint@v3
+ uses: github/super-linter@v3
+ env:
+ VALIDATE_YAML: true