Migrate to forgejo
This commit is contained in:
parent
5d49069b7b
commit
8bc697a7f4
2 changed files with 77 additions and 0 deletions
19
.forgejo/workflows/shellcheck.yml
Normal file
19
.forgejo/workflows/shellcheck.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
name: ShellCheck
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
|
||||
- name: Install ShellCheck
|
||||
run: apt-get update && apt-get install -y shellcheck
|
||||
|
||||
- name: Run ShellCheck
|
||||
run: find ./src -name '*.sh' -exec shellcheck {} +
|
||||
Loading…
Add table
Add a link
Reference in a new issue