mirror of https://github.com/docker/docs.git
Merge pull request #19425 from dvdksn/vale-ci
ci: add vale style check and update runners
This commit is contained in:
commit
ff281c53a6
|
@ -16,7 +16,7 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
|
@ -35,8 +35,16 @@ jobs:
|
||||||
*.cache-from=type=gha,scope=build
|
*.cache-from=type=gha,scope=build
|
||||||
*.cache-to=type=gha,scope=build,mode=max
|
*.cache-to=type=gha,scope=build,mode=max
|
||||||
|
|
||||||
|
vale:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: errata-ai/vale-action@38bf078c328061f59879b347ca344a718a736018 # v2.1.0
|
||||||
|
with:
|
||||||
|
files: content
|
||||||
|
|
||||||
validate:
|
validate:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -65,7 +73,7 @@ jobs:
|
||||||
# build-releaser job will just build _releaser app used for Netlify and
|
# build-releaser job will just build _releaser app used for Netlify and
|
||||||
# AWS deployment in publish workflow. it's just to be sure it builds correctly.
|
# AWS deployment in publish workflow. it's just to be sure it builds correctly.
|
||||||
build-releaser:
|
build-releaser:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
|
|
|
@ -19,7 +19,7 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
if: github.repository_owner == 'docker'
|
if: github.repository_owner == 'docker'
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
|
|
|
@ -9,7 +9,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
labeler:
|
labeler:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
|
@ -25,7 +25,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run:
|
run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
|
|
Loading…
Reference in New Issue