From 57f9dd11e260715c35b6cc22b36dd9f712664651 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Sun, 30 Mar 2025 16:04:19 +0300 Subject: [PATCH 1/2] move to actions from drone --- .drone.yml | 14 -------------- .gitea/workflows/lint.yml | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 14 deletions(-) delete mode 100644 .drone.yml create mode 100644 .gitea/workflows/lint.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index f2a2980..0000000 --- a/.drone.yml +++ /dev/null @@ -1,14 +0,0 @@ -kind: pipeline -type: docker -name: default - -steps: -- name: shellcheck - image: koalaman/shellcheck-alpine:latest - commands: - - shellcheck -e SC2181 menu.+.sh - -trigger: - event: - - push - - tag \ No newline at end of file diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml new file mode 100644 index 0000000..45219a3 --- /dev/null +++ b/.gitea/workflows/lint.yml @@ -0,0 +1,25 @@ +name: default + +on: + push: + branches: + - '*' + tags: + - '*' + +jobs: + shellcheck: + runs-on: docker + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Run shellcheck + uses: ludeeus/action-shellcheck@master + with: + ignore_paths: '' + ignore_names: '' + severity: error + check_together: false + scandir: '.' + exclude: 'SC2181' \ No newline at end of file From db670010ca0cc420118e29e6d6e142b8be1d509e Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Sun, 30 Mar 2025 16:11:23 +0300 Subject: [PATCH 2/2] fix actions --- .gitea/workflows/lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 45219a3..9d86be6 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -12,10 +12,10 @@ jobs: runs-on: docker steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run shellcheck - uses: ludeeus/action-shellcheck@master + uses: actions/shellcheck@master with: ignore_paths: '' ignore_names: ''