fix(ci): install different yq binaries
Install yq / install-yq (amd64, linux) (push) Successful in 20s
Install yq / install-yq (arm64, darwin) (push) Successful in 7s
Install yq / install-yq (amd64, darwin) (push) Successful in 41s
Install yq / install-yq (arm64, linux) (push) Successful in 8s
Markdown linter / markdown-lint (push) Successful in 16s
Markdown linter / markdown-link-checker (push) Successful in 41s
Install yq / install-yq (amd64, linux) (push) Successful in 20s
Install yq / install-yq (arm64, darwin) (push) Successful in 7s
Install yq / install-yq (amd64, darwin) (push) Successful in 41s
Install yq / install-yq (arm64, linux) (push) Successful in 8s
Markdown linter / markdown-lint (push) Successful in 16s
Markdown linter / markdown-link-checker (push) Successful in 41s
This commit is contained in:
@@ -0,0 +1,39 @@
|
|||||||
|
name: Install yq
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [ "opened", "reopened", "synchronize" ]
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '**'
|
||||||
|
tags-ignore:
|
||||||
|
- '**'
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
install-yq:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
# Linux
|
||||||
|
- yq-arch: "amd64"
|
||||||
|
yq-os: "linux"
|
||||||
|
- yq-arch: "arm64"
|
||||||
|
yq-os: "linux"
|
||||||
|
# Darwin
|
||||||
|
- yq-arch: "amd64"
|
||||||
|
yq-os: "darwin"
|
||||||
|
- yq-arch: "arm64"
|
||||||
|
yq-os: "darwin"
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v7.0.0
|
||||||
|
- name: Install yq
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
YQ_ARCH: ${{ matrix.yq-arch }}
|
||||||
|
YQ_BINARY_NAME: ${{ inputs.yq-binary-name }}
|
||||||
|
YQ_DOWNLOAD_URL: ${{ inputs.yq-download-url }}
|
||||||
|
YQ_OS: ${{ matrix .yq-os }}
|
||||||
|
YQ_VERSION: ${{ inputs.yq-version }}
|
||||||
|
run: ./install-yq.sh
|
||||||
@@ -2,12 +2,10 @@ name: Markdown linter
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths: [ "**/*.md" ]
|
|
||||||
types: [ "opened", "reopened", "synchronize" ]
|
types: [ "opened", "reopened", "synchronize" ]
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- '**'
|
||||||
paths: [ "**/*.md" ]
|
|
||||||
tags-ignore:
|
tags-ignore:
|
||||||
- '**'
|
- '**'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user