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:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
@ -35,8 +35,16 @@ jobs:
|
|||
*.cache-from=type=gha,scope=build
|
||||
*.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:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
@ -65,7 +73,7 @@ jobs:
|
|||
# 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.
|
||||
build-releaser:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
|
|
@ -19,7 +19,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
if: github.repository_owner == 'docker'
|
||||
steps:
|
||||
-
|
||||
|
|
|
@ -9,7 +9,7 @@ on:
|
|||
|
||||
jobs:
|
||||
labeler:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
|
|
@ -25,7 +25,7 @@ on:
|
|||
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
|
Loading…
Reference in New Issue