summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-02-13 15:19:34 +0900
committerGitHub <[email protected]>2021-02-13 15:19:34 +0900
commit8e01fc89336811d4200a2017e229b1b2a1b23e8f (patch)
tree7b9f457614a3d75bfc317c3664e15afb83d1fb1a /.github
parentacdd939d80641e6683b5a2ae575f8e614c36890b (diff)
parent4c7ecbb8a64c9233bc7d08d071b045ebb755ca0e (diff)
downloadmruby-8e01fc89336811d4200a2017e229b1b2a1b23e8f.tar.gz
mruby-8e01fc89336811d4200a2017e229b1b2a1b23e8f.zip
Merge pull request #5340 from jbampton/use-certified-actions
refactor: only use certified GitHub Actions to increase security
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index ed1682b05..b2ba316b2 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -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