Merge pull request #5340 from jbampton/use-certified-actions

refactor: only use certified GitHub Actions to increase security
This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-02-13 15:19:34 +09:00
committed by GitHub
+11 -1
View File
@@ -8,8 +8,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install yamllint
- name: 🧹 YAML Lint
uses: ibiqlik/action-yamllint@v3
run: |
# return non-zero exit code on warnings
yamllint --strict .
markdownlint:
name: 🍸 Markdown
runs-on: ubuntu-latest