From 5f80b2a7f399b7f0a1ebda2dfc42204a64045b2e Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 23 Dec 2023 23:43:43 +0100 Subject: [PATCH] use list style synatx and cleanup (#82) --- .woodpecker/build-package.yml | 11 +++++------ .woodpecker/docs.yml | 4 ++-- .woodpecker/notify.yml | 2 +- .woodpecker/test.yml | 4 ++-- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.woodpecker/build-package.yml b/.woodpecker/build-package.yml index 8415e0c..0a86916 100644 --- a/.woodpecker/build-package.yml +++ b/.woodpecker/build-package.yml @@ -6,26 +6,25 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - build: + - name: build image: docker.io/techknowlogick/xgo:go-1.21.x commands: - ln -s $(pwd) /source - make release - executable: + - name: executable image: quay.io/thegeeklab/alpine-tools commands: - $(find dist/ -executable -type f -iname ${CI_REPO_NAME}-linux-amd64) --help - changelog: + - name: changelog image: quay.io/thegeeklab/git-sv commands: - - git fetch --depth=2147483647 - git sv current-version - git sv release-notes -t ${CI_COMMIT_TAG:-next} -o CHANGELOG.md - cat CHANGELOG.md - publish-github: + - name: publish-github image: docker.io/plugins/github-release settings: api_key: @@ -36,7 +35,7 @@ steps: overwrite: true title: ${CI_COMMIT_TAG} when: - - event: [tag] + - event: [tag] depends_on: - test diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index 48ee7c8..a70ee79 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -6,12 +6,12 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - markdownlint: + - name: markdownlint image: quay.io/thegeeklab/markdownlint-cli commands: - markdownlint 'README.md' 'CONTRIBUTING.md' - spellcheck: + - name: spellcheck image: quay.io/thegeeklab/alpine-tools commands: - spellchecker --files 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls diff --git a/.woodpecker/notify.yml b/.woodpecker/notify.yml index a851904..9957125 100644 --- a/.woodpecker/notify.yml +++ b/.woodpecker/notify.yml @@ -8,7 +8,7 @@ when: runs_on: [success, failure] steps: - matrix: + - name: matrix image: quay.io/thegeeklab/wp-matrix settings: homeserver: diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index abd3763..65b7d81 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -6,12 +6,12 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - lint: + - name: lint image: docker.io/library/golang:1.21 commands: - make lint - test: + - name: test image: docker.io/library/golang:1.21 commands: - make test