ci: replace deprecated workflow syntax

This commit is contained in:
Robert Kaussow 2024-10-31 10:45:16 +01:00
parent 0c6944bb1b
commit 3430f7b35d
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 9 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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