move to actions from drone #1
2 changed files with 25 additions and 14 deletions
14
.drone.yml
14
.drone.yml
|
@ -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
|
|
25
.gitea/workflows/lint.yml
Normal file
25
.gitea/workflows/lint.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: default
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
shellcheck:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Run shellcheck
|
||||||
|
uses: actions/shellcheck@master
|
||||||
|
with:
|
||||||
|
ignore_paths: ''
|
||||||
|
ignore_names: ''
|
||||||
|
severity: error
|
||||||
|
check_together: false
|
||||||
|
scandir: '.'
|
||||||
|
exclude: 'SC2181'
|
Loading…
Add table
Reference in a new issue