This commit is contained in:
parent
0b9c5791b8
commit
7154608910
1 changed files with 10 additions and 3 deletions
|
|
@ -1,11 +1,18 @@
|
||||||
name: ShellCheck
|
name: CI
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
shellcheck:
|
shellcheck:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: ghcr.io/catthehacker/ubuntu:act-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install ShellCheck
|
||||||
|
run: apt-get update && apt-get install -y shellcheck
|
||||||
- name: Run ShellCheck
|
- name: Run ShellCheck
|
||||||
run: shellcheck dotgit.sh demo/demo-note.sh
|
run: shellcheck dotgit.sh demo/demo-note.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue