ci: replace deprecated workflow syntax
All checks were successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-10-27 21:30:10 +01:00
parent 0f7dc6bc62
commit 8f974316c2
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 5 additions and 30 deletions

View File

@ -6,13 +6,15 @@ when:
- ${CI_REPO_DEFAULT_BRANCH} - ${CI_REPO_DEFAULT_BRANCH}
steps: steps:
markdownlint: - name: markdownlint
image: quay.io/thegeeklab/markdownlint-cli image: quay.io/thegeeklab/markdownlint-cli
depends_on: []
commands: commands:
- markdownlint 'README.md' - markdownlint 'README.md'
spellcheck: - name: spellcheck
image: quay.io/thegeeklab/alpine-tools image: quay.io/thegeeklab/alpine-tools
depends_on: []
commands: commands:
- spellchecker --files 'README.md' -d .dictionary -p spell indefinite-article syntax-urls - spellchecker --files 'README.md' -d .dictionary -p spell indefinite-article syntax-urls
environment: environment:

View File

@ -1,26 +0,0 @@
---
when:
- event: [tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
runs_on: [success, failure]
steps:
matrix:
image: quay.io/thegeeklab/wp-matrix
settings:
homeserver:
from_secret: matrix_homeserver
password:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
username:
from_secret: matrix_username
when:
- status: [success, failure]
depends_on:
- docs

View File

@ -6,8 +6,7 @@ when:
- ${CI_REPO_DEFAULT_BRANCH} - ${CI_REPO_DEFAULT_BRANCH}
steps: steps:
lint: - name: lint
group: test
image: docker.io/koalaman/shellcheck-alpine:stable image: docker.io/koalaman/shellcheck-alpine:stable
commands: commands:
- grep -ErlI '^#!(.*/|.*env +)(sh|bash|ksh)' ./shell/ | xargs -r shellcheck - grep -ErlI '^#!(.*/|.*env +)(sh|bash|ksh)' ./shell/ | xargs -r shellcheck