From d4d567240dfb40aebada09ebbc57e87189822063 Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Tue, 1 Nov 2022 20:17:05 +0100 Subject: [PATCH] ci: add linting with V 0.3.2 --- .woodpecker/.lint.yml | 13 ------------- .woodpecker/lint.yml | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 13 deletions(-) delete mode 100644 .woodpecker/.lint.yml create mode 100644 .woodpecker/lint.yml diff --git a/.woodpecker/.lint.yml b/.woodpecker/.lint.yml deleted file mode 100644 index 31df08c..0000000 --- a/.woodpecker/.lint.yml +++ /dev/null @@ -1,13 +0,0 @@ -branches: - exclude: [ main ] - -platform: 'linux/amd64' - -pipeline: - lint: - image: 'chewingbever/vlang:latest' - pull: true - commands: - - make lint - when: - event: [ push ] diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml new file mode 100644 index 0000000..e502737 --- /dev/null +++ b/.woodpecker/lint.yml @@ -0,0 +1,19 @@ +branches: + exclude: [ main ] + +platform: 'linux/amd64' + +pipeline: + build: + image: 'git.rustybever.be/chewing_bever/vlang:0.3.2' + commands: + - make + when: + event: [ push ] + + lint: + image: 'git.rustybever.be/chewing_bever/vlang:0.3.2' + commands: + - make lint + when: + event: [ push ]