diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-02-13 15:19:34 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-13 15:19:34 +0900 |
| commit | 8e01fc89336811d4200a2017e229b1b2a1b23e8f (patch) | |
| tree | 7b9f457614a3d75bfc317c3664e15afb83d1fb1a /.github | |
| parent | acdd939d80641e6683b5a2ae575f8e614c36890b (diff) | |
| parent | 4c7ecbb8a64c9233bc7d08d071b045ebb755ca0e (diff) | |
| download | mruby-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.yml | 12 |
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 |
