CI: Only use approved GitHub Actions
This commit is contained in:
parent
763aae8155
commit
0d8dc13b67
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -142,13 +142,7 @@ jobs:
|
|||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Docker Pull
|
- name: Docker Pull
|
||||||
uses: nick-invision/retry@v1
|
run: docker pull docker.pkg.github.com/apache/incubator-nuttx-testing/nuttx-ci-linux
|
||||||
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
|
|
||||||
|
|
||||||
- name: Export NuttX Repo SHA
|
- name: Export NuttX Repo SHA
|
||||||
run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV
|
run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV
|
||||||
- name: Run builds
|
- name: Run builds
|
||||||
|
28
.github/workflows/doc.yml
vendored
28
.github/workflows/doc.yml
vendored
@ -23,31 +23,15 @@ jobs:
|
|||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
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/"
|
|
||||||
- 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: |
|
run: |
|
||||||
cd Documentation/
|
cd Documentation/
|
||||||
pip3 install pipenv
|
pip3 install pipenv
|
||||||
pipenv install
|
pipenv install
|
||||||
|
pipenv run make html
|
||||||
# This step flakes frequently so still annotate errors but dont fail the build
|
# This step flakes frequently so still annotate errors but dont fail the build
|
||||||
pipenv run make linkcheck || true
|
pipenv run make linkcheck || true
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: sphinx-docs
|
||||||
|
path: Documentation/_build/html/
|
||||||
|
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
@ -9,4 +9,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: 🧹 YAML Lint
|
- name: 🧹 YAML Lint
|
||||||
uses: ibiqlik/action-yamllint@v3
|
uses: github/super-linter@v3
|
||||||
|
env:
|
||||||
|
VALIDATE_YAML: true
|
||||||
|
FILTER_REGEX_INCLUDE: .*\.github/.*
|
||||||
|
Loading…
Reference in New Issue
Block a user