ci: replace deprecated workflow syntax
This commit is contained in:
parent
0c6944bb1b
commit
3430f7b35d
@ -8,13 +8,11 @@ when:
|
|||||||
steps:
|
steps:
|
||||||
- name: markdownlint
|
- name: markdownlint
|
||||||
image: quay.io/thegeeklab/markdownlint-cli
|
image: quay.io/thegeeklab/markdownlint-cli
|
||||||
group: test
|
|
||||||
commands:
|
commands:
|
||||||
- markdownlint 'docs/**/*.md' 'README.md'
|
- markdownlint 'docs/**/*.md' 'README.md'
|
||||||
|
|
||||||
- name: spellcheck
|
- name: spellcheck
|
||||||
image: quay.io/thegeeklab/alpine-tools
|
image: quay.io/thegeeklab/alpine-tools
|
||||||
group: test
|
|
||||||
commands:
|
commands:
|
||||||
- spellchecker --files 'docs/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls frontmatter --frontmatter-keys title tags
|
- spellchecker --files 'docs/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls frontmatter --frontmatter-keys title tags
|
||||||
environment:
|
environment:
|
||||||
@ -22,12 +20,12 @@ steps:
|
|||||||
|
|
||||||
- name: link-validation
|
- name: link-validation
|
||||||
image: docker.io/lycheeverse/lychee
|
image: docker.io/lycheeverse/lychee
|
||||||
group: test
|
|
||||||
commands:
|
commands:
|
||||||
- lychee --no-progress --format detailed docs/ README.md
|
- lychee --no-progress --format detailed docs/ README.md
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: quay.io/thegeeklab/wp-git-action
|
image: quay.io/thegeeklab/wp-git-action
|
||||||
|
depends_on: [markdownlint, spellcheck, link-validation]
|
||||||
settings:
|
settings:
|
||||||
action:
|
action:
|
||||||
- pages
|
- pages
|
||||||
|
@ -8,7 +8,7 @@ when:
|
|||||||
variables:
|
variables:
|
||||||
- &ansible_base
|
- &ansible_base
|
||||||
image: docker.io/library/python:3.10
|
image: docker.io/library/python:3.10
|
||||||
group: ansible
|
depends_on: []
|
||||||
commands:
|
commands:
|
||||||
- pip install poetry -qq
|
- pip install poetry -qq
|
||||||
- poetry install --all-extras --no-root
|
- poetry install --all-extras --no-root
|
||||||
@ -29,17 +29,17 @@ steps:
|
|||||||
ANSIBLE_VERSION: "devel"
|
ANSIBLE_VERSION: "devel"
|
||||||
<<: *ansible_env
|
<<: *ansible_env
|
||||||
|
|
||||||
|
- name: ansible-217
|
||||||
|
<<: *ansible_base
|
||||||
|
environment:
|
||||||
|
ANSIBLE_VERSION: "stable-2.17"
|
||||||
|
<<: *ansible_env
|
||||||
|
|
||||||
- name: ansible-216
|
- name: ansible-216
|
||||||
<<: *ansible_base
|
<<: *ansible_base
|
||||||
environment:
|
environment:
|
||||||
ANSIBLE_VERSION: "stable-2.16"
|
ANSIBLE_VERSION: "stable-2.16"
|
||||||
<<: *ansible_env
|
<<: *ansible_env
|
||||||
|
|
||||||
- name: ansible-215
|
|
||||||
<<: *ansible_base
|
|
||||||
environment:
|
|
||||||
ANSIBLE_VERSION: "stable-2.15"
|
|
||||||
<<: *ansible_env
|
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- lint
|
- lint
|
||||||
|
@ -7,7 +7,7 @@ when:
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &pytest_base
|
- &pytest_base
|
||||||
group: pytest
|
depends_on: []
|
||||||
commands:
|
commands:
|
||||||
- pip install poetry -qq
|
- pip install poetry -qq
|
||||||
- poetry install --all-extras --no-root
|
- poetry install --all-extras --no-root
|
||||||
|
Loading…
Reference in New Issue
Block a user