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